home / cp40x

names

7 rows where case_id = 2340774

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4946121 2340774 2340774 plaintiff Jay Richard     Jay, Richard 0
4946122 2340774 2340774 defendant Langley John gent 825796 825796 Langley, John, of Bernes, Surrey, gent 0
4946123 2340774 2340774 defendant West John husbandman 825797 825797 West, John, of Statfold, Beds, husbandman 1
4946124 2340774 2340774 defendant atte - Margaret widow 617294 617294 atte -, Margaret, of Tonbregge, Kent, widow 2
4946125 2340774 2340774 defendant Hadlo John husbandman 592771 592771 Hadlo, John, of Tonbregge, husbandman 3
4946126 2340774 2340774 defendant Hegland Andrew (legal representative)   Hegland, Andrew, executor of 4
4946127 2340774 2340774 defendant Walsshe Stephen husbandman 592915 592915 Walsshe, Stephen, of Waldern, Sussex, husbandman 5

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