home / cp40x

names

7 rows where case_id = 2267974

✎ 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
4708314 2267974 2267974 plaintiff Newesome Thomas esq   Newesome, Thomas, esq 0
4708315 2267974 2267974 defendant Chamberleyn John husbandman 788520 788520 Chamberleyn, John, of Neswyk, husbandman 0
4708316 2267974 2267974 defendant Barre John husbandman 788521 788521 Barre, John, of Kyplyng, husbandman 1
4708317 2267974 2267974 defendant Hygdon John   602043 602043 Hygdon, John, of Hoveden, glove maker 2
4708318 2267974 2267974 defendant Pedder John butcher 595425 595425 Pedder, John, of Estryngton, butcher 3
4708319 2267974 2267974 defendant Syther Thomas laborer 595431 595431 Syther, Thomas, of North Cave, laborer 4
4708320 2267974 2267974 defendant Hill Thomas yeoman 595431 595431 Hill, Thomas, of North Cave, yeoman 5

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 16.234ms