home / cp40x

names

6 rows where case_id = 2080298

✎ 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
4156362 2080298 2080298 plaintiff Marler Walter gent   Marler, Walter, gent 0
4156363 2080298 2080298 plaintiff Nicholas Eliabeth widow   Nicholas, Eliabeth, widow, executors of 1
4156364 2080298 2080298 plaintiff Dutton William esq   (Dutton, William, esq 2
4156365 2080298 2080298 defendant Harryson Ralph brewer 586360 586360 Harryson, Ralph, of Chelmesford, Essex, brewer 0
4156366 2080298 2080298 defendant Bryston Thomas, senior carrier 653666 653666 Bryston, Thomas, senior, of Bedmynster, Soms, carrier 1
4156367 2080298 2080298 defendant Lemond William chapman 705209 705209 Lemond, William, of Cancer, Soms, chapman 2

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 15.512ms