home / cp40x

names

7 rows where case_id = 1923196

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3690499 1923196 1923196 plaintiff Gorney Richard (legal representative)   Gorney, Richard, executrix of 0
3690500 1923196 1923196 plaintiff Gorney Edith widow   Gorney, Edith, widow 1
3690501 1923196 1923196 defendant Morell Hugh merchant 586379 586379 Morell, Hugh, of Brigewater, merchant 0
3690502 1923196 1923196 defendant Hull John gent 586036 586036 Hull, John, of Exeter, gent 1
3690503 1923196 1923196 defendant Hychecok Henry husbandman 596518 596518 Hychecok, Henry, of Baryngton, husbandman 2
3690504 1923196 1923196 defendant Dolman John, senior husbandman 611879 611879 Dolman, John, senior, of Hache, husbandman 3
3690505 1923196 1923196 defendant Cheek Thomas husbandman 611880 611880 Cheek, Thomas, of Aysshehill, 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 13.574ms