home / cp40x

names

6 rows where place_id = 684088

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4056685 2044779 2044779 defendant Lyte John gent 684088 684088 Lyte, John, of North Currey, Soms, gent 0
4124987 2069226 2069226 defendant Rowsell George butcher 684088 684088 Rowsell, George, of north Currey, Soms, butcher 0
4135613 2073060 2073060 defendant Light John gent 684088 684088 Light, John, of North Currey, Soms, gent 1
4158615 2081086 2081086 defendant Lyte John gent 684088 684088 Lyte, John, of North Currey, Soms, gent 0
4170888 2085306 2085306 defendant Mudge John husbandman 684088 684088 Mudge, John, of North Currey, Soms, husbandman 0
4278371 2122372 2122372 defendant Lyte John gent 684088 684088 Lyte, John, of North Currey, Soms, gent 0

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