home / cp40x

names

6 rows where case_id = 1973875

✎ 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
3850898 1973875 1973875 plaintiff Newport Richard, senior     Newport, Richard, senior 0
3850899 1973875 1973875 defendant James Richard husbandman 638428 638428 James, Richard, of Mucknell, husbandman 0
3850900 1973875 1973875 defendant Vycar John husbandman 587041 587041 Vycar, John, of Crowley, husbandman 1
3850901 1973875 1973875 defendant Vivean John carpenter 585869 585869 Vivean, John, of London, carpenter 2
3850902 1973875 1973875 defendant Whiteacur Christopher carpenter 608210 608210 Whiteacur, Christopher, of Chaddesley Corbett, carpenter 3
3850903 1973875 1973875 defendant Hadley John carpenter 608210 608210 Hadley, John, of Chaddesley Corbett, carpenter 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.383ms