home / cp40x

names

6 rows where case_id = 1872138

✎ 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
3614333 1872138 1872138 plaintiff Braybroke John     Braybroke, John 0
3614334 1872138 1872138 defendant Persons William grocer 587990 587990 Persons, William, of Ludlowe, Salop, grocer 0
3614335 1872138 1872138 defendant Carter Richard glover 588148 588148 Carter, Richard, of Watford, Herts, glover 1
3614336 1872138 1872138 defendant Brokisbanke John capper 586175 586175 Brokisbanke, John, of Canterbury, capper 2
3614337 1872138 1872138 defendant Bostone John glover 587082 587082 Bostone, John, of Watford, glover 3
3614338 1872138 1872138 defendant Trewechylde John husbandman 594076 594076 Trewechylde, John, of Chigwell, or of Stapleford, husbandman 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.43ms