home / cp40x

names

5 rows where case_id = 1958210

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3800960 1958210 1958210 plaintiff Mason Nicholas miller 614519 614519 Mason, Nicholas, of Hemelhamsted, miller 0
3800961 1958210 1958210 defendant Hacche Henry weaver 612600 612600 Hacche, Henry, of Magna Barkhamsted, weaver 0
3800962 1958210 1958210 defendant Davynson George miller 631501 631501 Davynson, George, of Cawsebery Mill, Watford, miller 1
3800963 1958210 1958210 defendant Smyth John tailor 612600 612600 Smyth, John, of Magna Barkhamsted, tailor 2
3800964 1958210 1958210 defendant Pearose Thomas husbandman 631502 631502 Pearose, Thomas, of Langley Regis, husbandman 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 13.978ms