home / cp40x

names

11 rows where case_id = 2235368

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4613923 2235368 2235368 plaintiff Dey John   590601 590601 Dey, John, of Wilmersley 0
4613924 2235368 2235368 defendant Devyas John, sen   590601 590601 Devyas, John, sen, of Wilmersley 0
4613925 2235368 2235368 defendant (not given) John his son   John, his son 1
4613926 2235368 2235368 defendant Jolyman John     Jolyman, John 2
4613927 2235368 2235368 defendant Poriauntes John     Poriauntes, John 3
4613928 2235368 2235368 defendant Stoke William     Stoke, William 4
4613929 2235368 2235368 defendant Forester John     Forester, John 5
4613930 2235368 2235368 defendant Abkok John     Abkok, John 6
4613931 2235368 2235368 defendant Hesyll Roger     Hesyll, Roger 7
4613932 2235368 2235368 defendant Laysyng William     Laysyng, William 8
4613933 2235368 2235368 defendant Couper John   590601 590601 Couper, John, of Wilmersley 9

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 13.405ms