home / cp40x

names

5 rows where case_id = 2395880

✎ 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
5132096 2395880 2395880 plaintiff Haksall Thomas     Haksall, Thomas 0
5132097 2395880 2395880 defendant Saverary Richard butcher 587082 587082 Saverary, Richard, of Watford, butcher 0
5132098 2395880 2395880 defendant Rolf John collier 810679 810679 Rolf, John, of East Barnet, collier 1
5132099 2395880 2395880 defendant Deweney Henry laborer 593545 593545 Deweney, Henry, of Northawe, laborer 2
5132100 2395880 2395880 defendant Vat Thomas carpenter 586275 586275 Vat, Thomas, of Chepyng Barnet, carpenter 3

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