home / cp40x

names

6 rows where case_id = 2259238

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4679601 2259238 2259238 plaintiff Knewsorth John     Knewsorth, John, on his own account 0
4679602 2259238 2259238 defendant Courthose John yeoman 782871 782871 Courthose, John, of Great Eieresden, yeoman 0
4679603 2259238 2259238 defendant Sprotte Thomas yeoman 782869 782869 Sprotte, Thomas, of Wodhull, Beds, yeoman 1
4679604 2259238 2259238 defendant Bannebury Thomas husbandman 763861 763861 Bannebury, Thomas, of Stepil Mordon, husbandman 2
4679605 2259238 2259238 defendant Parker Hugh yeoman 782872 782872 Parker, Hugh, of Bassyngburn, Cambs, yeoman 3
4679606 2259238 2259238 defendant Chaundeler Walter barber 780702 780702 Chaundeler, Walter, of Royston, Cambs, barber 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 13.552ms