home / cp40x

names

6 rows where case_id = 2381195

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5082291 2381195 2381195 plaintiff Depden Thomas     Depden, Thomas 0
5082292 2381195 2381195 defendant Laken William esq 612339 612339 Laken, William, of Wylley, Salop, esq 0
5082293 2381195 2381195 defendant Wynter John courser 604498 604498 Wynter, John, of Botesdale, Suff, courser 1
5082294 2381195 2381195 defendant Skynner Robert (legal representative) 588071 588071 Skynner, Robert, of Multon, executors of 2
5082295 2381195 2381195 defendant Skynner William husbandman 618788 618788 (Skynner, William, of Multon, Suff, husbandman 3
5082296 2381195 2381195 defendant Skynner John husbandman 588071 588071 Skynner, John, of Multon, 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 10.032ms