home / cp40x

names

6 rows where case_id = 2424559

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5230584 2424559 2424559 plaintiff Baskervile James esq   Baskervile, James, esq 0
5230585 2424559 2424559 defendant Borne Thomas yeoman 861977 861977 Borne, Thomas, of Byeford, yeoman 0
5230586 2424559 2424559 defendant Brugge John husbandman 762303 762303 Brugge, John, of Swynmore, husbandman 1
5230587 2424559 2424559 defendant Pere John husbandman 762071 762071 Pere, John, of Brugge, husbandman 2
5230588 2424559 2424559 defendant Fyllowe Roger yeoman 861978 861978 Fyllowe, Roger, of Sle Pychard, yeoman 3
5230589 2424559 2424559 defendant Mascald Thomas   593739 593739 Mascald, Thomas, of Pencombe, husbandma 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 14.78ms