home / cp40x

names

6 rows where case_id = 2022434

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3993536 2022434 2022434 plaintiff Chapman John grocer 585869 585869 Chapman, John, of London, grocer 0
3993537 2022434 2022434 defendant Bratte Hugh chapman 639355 639355 Bratte, Hugh, of Whytechurche, Salop, or of Presteygne, Radnor, chapman 0
3993538 2022434 2022434 defendant Lied Thomas merchant tailor 585869 585869 Lied, Thomas, of London, merchant tailor 1
3993539 2022434 2022434 defendant Barnam Hugh yeoman 594980 594980 Barnam, Hugh, of Gravesende, Kent, yeoman 2
3993540 2022434 2022434 defendant Fynche Erasmus gent 585869 585869 Fynche, Erasmus, of London, or of More, Kent, gent 3
3993541 2022434 2022434 defendant Chapman Christopher   585869 585869 Chapman, Christopher, of London, clerk, parson of Lavynham, Suff 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 20.032ms