home / cp40x

names

8 rows where case_id = 1939654

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3742981 1939654 1939654 plaintiff Warde John     Warde, John 0
3742982 1939654 1939654 plaintiff Roberd John, junior     Roberd, John, junior 1
3742983 1939654 1939654 plaintiff Boche John     Boche, John 2
3742984 1939654 1939654 plaintiff Holcomb alias Onsaye Gerard     Holcomb alias Onsaye, Gerard 3
3742985 1939654 1939654 defendant Rikward Thomas husbandman 587715 587715 Rikward, Thomas, of Cokefeld, husbandman 0
3742986 1939654 1939654 defendant at Tree John husbandman 621686 621686 at Tree, John, of Wivelesfeld, husbandman 1
3742987 1939654 1939654 defendant Wode alias Thurston Walter tailor 621686 621686 Wode alias Thurston, Walter, of Wivelesfeld, tailor 2
3742988 1939654 1939654 defendant Vynall John wheeler 587715 587715 Vynall, John, of Cokefeld, wheeler 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.975ms