home / cp40x

names

5 rows where case_id = 2359815

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5010079 2359815 2359815 plaintiff Vavasour John     Vavasour, John 0
5010080 2359815 2359815 defendant Herryson Thomas husbandman 587026 587026 Herryson, Thomas, of Goldale, husbandman 0
5010081 2359815 2359815 defendant Adam Richard husbandman 834613 834613 Adam, Richard, of Mikelhek, husbandman 1
5010082 2359815 2359815 defendant Lawe John husbandman 834613 834613 Lawe, John, of Mikelhek, husbandman 2
5010083 2359815 2359815 defendant Dilcok William laborer 834614 834614 Dilcok, William, of Hausall, laborer 3

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.265ms