home / cp40x

names

6 rows where case_id = 2112766

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4249345 2112766 2112766 plaintiff Aulston William     Aulston, William 0
4249346 2112766 2112766 defendant Richeman Robert yeoman 585869 585869 Richeman, Robert, of London, or of Sudbury, Suff, yeoman 0
4249347 2112766 2112766 defendant Smythe Thomas (legal representative) 586953 586953 Smythe, Thomas, of Sudbury, yeoman, executrix of 1
4249348 2112766 2112766 defendant Smythe Philippa widow 586953 586953 Smythe, Philippa, of Sudbury, widow 2
4249349 2112766 2112766 defendant Walker John (legal representative) 723173 723173 Walker, John, of Brundon, Essex, yeoman, executors of 3
4249350 2112766 2112766 defendant Mercer Walter gent 585869 585869 (Mercer, Walter, of London, gent 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 14.324ms