home / cp40x

names

6 rows where case_id = 1923526

✎ 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
3691585 1923526 1923526 plaintiff Hevenyngham George gent   Hevenyngham, George, gent 0
3691586 1923526 1923526 defendant (not given) Edmund vicar of Gyfford 585869 585869 Gyfford, Edmund, of London, vicar of Campden, Glos 0
3691587 1923526 1923526 defendant Cressey Robert scrivener 585869 585869 Cressey, Robert, of London, scrivener 1
3691588 1923526 1923526 defendant Archer John husbandman 612107 612107 Archer, John, of Stanstede, Herts, husbandman 2
3691589 1923526 1923526 defendant Brown Richard husbandman 612108 612108 Brown, Richard, of Padmarsh, Essex, husbandman 3
3691590 1923526 1923526 defendant Parker John yeoman 586033 586033 Parker, John, of Westminster, yeoman 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 15.248ms