home / cp40x

names

8 rows where case_id = 2476682

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5405621 2476682 2476682 plaintiff Sekyrwham Robert     Sekyrwham, Robert 0
5405622 2476682 2476682 defendant Webster James yeoman 586349 586349 Webster, James, of Bradford, yeoman 0
5405623 2476682 2476682 defendant Webster John, senior yeoman 586349 586349 Webster, John, senior, of Bradford, yeoman 1
5405624 2476682 2476682 defendant Jowet William smith 586349 586349 Jowet, William, of Bradford, smith 2
5405625 2476682 2476682 defendant Lytster Richard yeoman 884109 884109 Lytster, Richard, of Plomtree Banks, yeoman 3
5405626 2476682 2476682 defendant Fletcher John yeoman 589696 589696 Fletcher, John, of Harwod, yeoman 4
5405627 2476682 2476682 defendant Gelles Thomas yeoman 586349 586349 Gelles, Thomas, of Bradford, yeoman 5
5405628 2476682 2476682 defendant Webster John, junior     Webster, John, junior 6

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.451ms