home / cp40x

names

7 rows where case_id = 1874881

✎ 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
3623501 1874881 1874881 plaintiff Sherard Thomas     Sherard, Thomas 0
3623502 1874881 1874881 defendant Jorden Richard husbandman 596180 596180 Jorden, Richard, of Harleston, Lincs, husbandman 0
3623503 1874881 1874881 defendant Penne Edward husbandman 596181 596181 Penne, Edward, of Edmanthorp, husbandman 1
3623504 1874881 1874881 defendant Aylton Thomas husbandman 596182 596182 Aylton, Thomas, of Muston, husbandman 2
3623505 1874881 1874881 defendant Wyn John husbandman 586497 586497 Wyn, John, of Barston, husbandman 3
3623506 1874881 1874881 defendant Brey William tailor 586497 586497 Brey, William, of Barston, tailor 4
3623507 1874881 1874881 defendant george Thomas yeoman 586435 586435 george, Thomas, of Leicester, yeoman 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 12.459ms