home / cp40x

names

7 rows where case_id = 2409866

✎ 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
5179942 2409866 2409866 plaintiff Bonham Thomas esq   Bonham, Thomas, esq 0
5179943 2409866 2409866 plaintiff Pachete Philip     Pachete, Philip 1
5179944 2409866 2409866 defendant Cole John   595147 595147 Cole, John, of Wilton, Wilts, mason 0
5179945 2409866 2409866 defendant Turpyn John gent 590357 590357 Turpyn, John, of Wilton, gent 1
5179946 2409866 2409866 defendant Kaysour William gent 590357 590357 Kaysour, William, of Wilton, gent 2
5179947 2409866 2409866 defendant Page Nicholas dyer 590357 590357 Page, Nicholas, of Wilton, dyer 3
5179948 2409866 2409866 defendant Joce Robert butcher 590357 590357 Joce, Robert, of Wilton, butcher 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 7.28ms