home / cp40x

names

6 rows where case_id = 1936402

✎ 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
3732521 1936402 1936402 plaintiff Cowper John clerk   Cowper, John, clerk, executor of 0
3732522 1936402 1936402 plaintiff Pratt Richard clerk   Pratt, Richard, clerk 1
3732523 1936402 1936402 defendant Portman John tanner 586102 586102 Portman, John, of Hengham, tanner 0
3732524 1936402 1936402 defendant Andrews Robert husbandman 619895 619895 Andrews, Robert, of Brandon juxta Barneham Brome, husbandman 1
3732525 1936402 1936402 defendant Cressy John husbandman 619896 619896 Cressy, John, of Brandon juxta Barneham, husbandman 2
3732526 1936402 1936402 defendant Fyttelyng Bartholomew husbandman 586102 586102 Fyttelyng, Bartholomew, of Hengham, husbandman 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 7.487ms