home / cp40x

names

6 rows where case_id = 2414473

✎ 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
5195643 2414473 2414473 plaintiff Scanseby Thomas merchant 586067 586067 Scanseby, Thomas, of York, merchant 0
5195644 2414473 2414473 defendant Yong Thomas chapman 787228 787228 Yong, Thomas, of Barnard Castle, county Durham, chapman 0
5195645 2414473 2414473 defendant Stretforth John chapman 753357 753357 Stretforth, John, of North Allerton, Yorks, chapman 1
5195646 2414473 2414473 defendant Roucan Alexander chapman 858310 858310 Roucan, Alexander, of Kirkby Stpehen, Westmorland, chapman 2
5195647 2414473 2414473 defendant Selby Thomas chapman 796219 796219 Selby, Thomas, of Yarom, Yorks, chapman 3
5195648 2414473 2414473 defendant Richardson John chapman 592378 592378 Richardson, John, of Yarom, chapman 4

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