home / cp40x

names

6 rows where case_id = 2528887

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5580180 2528887 2528887 plaintiff Burgh Thomas     Burgh, Thomas 0
5580181 2528887 2528887 defendant Barkby John schoolmaster 586360 586360 Barkby, John, of Chelmesford, Essex, schoolmaster 0
5580182 2528887 2528887 defendant Neuton Richard clerk 596402 596402 Neuton, Richard, of Fobbyng, Essex, clerk 1
5580183 2528887 2528887 defendant Leche John gent 585869 585869 Leche, John, of London, gent 2
5580184 2528887 2528887 defendant Willot William yeoman 588052 588052 Willot, William, of Kyngeston on Thames, Surrey, yeoman 3
5580185 2528887 2528887 defendant Bacheler Richard currier 902363 902363 Bacheler, Richard, of Weybryge, Surrier, currier 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 16.273ms