home / cp40x

names

8 rows where case_id = 1972448

✎ 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
3846458 1972448 1972448 plaintiff Gower Edward knight   Gower, Edward, knight 0
3846459 1972448 1972448 defendant Sharpe John husbandman 592468 592468 Sharpe, John, of Harpham, husbandman 0
3846460 1972448 1972448 defendant Gregson John husbandman 639037 639037 Gregson, John, of Herpham, husbandman 1
3846461 1972448 1972448 defendant Don William husbandman 639037 639037 Don, William, of Herpham, husbandman 2
3846462 1972448 1972448 defendant Gylby Thomas husbandman 639038 639038 Gylby, Thomas, of Thorphome, husbandman 3
3846463 1972448 1972448 defendant Wetherall John husbandman 639039 639039 Wetherall, John, of Gregson, husbandman 4
3846464 1972448 1972448 defendant Bulton Richard husbandman 639039 639039 Bulton, Richard, of Gregson, husbandman 5
3846465 1972448 1972448 defendant Clerkson William husbandman 639040 639040 Clerkson, William, of Thornholme, husbandman 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.705ms