home / cp40x

names

7 rows where place_id = 880497

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5379832 2469278 2469278 defendant Lister John   880497 880497 Lister, John, of Wrenthorp in Wakefeld 0
5381860 2469867 2469867 defendant Lister John   880497 880497 Lister, John, of Wrenthorp in Wakefeld 0
5402786 2475875 2475875 defendant Lister John husbandman 880497 880497 Lister, John, of Wrenthorp in Wakefeld, husbandman 0
5402926 2475918 2475918 defendant Lister John husbandman 880497 880497 Lister, John, of Wrenthorp in Wakefeld, husbandman 0
5415737 2479646 2479646 defendant Lister John husbandman 880497 880497 Lister, John, of Wrenthorp in Wakefeld, husbandman 0
5415739 2479646 2479646 defendant Johnson Ralph tailor 880497 880497 Johnson, Ralph, of Wrenthorp in Wakefeld, tailor 2
5415906 2479691 2479691 defendant Lyster John husbandman 880497 880497 Lyster, John, of Wrenthorp in Wakefeld, husbandman 0

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