home / cp40x

names

7 rows where case_id = 2518493

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5544836 2518493 2518493 plaintiff Semar Thomas (legal representative) 586312 586312 Semar, Thomas, of Walden, yeoman, executrix of 0
5544837 2518493 2518493 plaintiff Semar Katherine widow   Semar, Katherine, widow 1
5544838 2518493 2518493 defendant Sewhale Thomas butcher 599236 599236 Sewhale, Thomas, of Parva Wylbram, butcher 0
5544839 2518493 2518493 defendant Brown William butcher 898458 898458 Brown, William, of Bradburgham, butcher 1
5544840 2518493 2518493 defendant Gyllsons Thomas husbandman 898459 898459 Gyllsons, Thomas, of Harstone, husbandman 2
5544841 2518493 2518493 defendant Rumbold Henry husbandman 596518 596518 Rumbold, Henry, of Baryngton, husbandman 3
5544842 2518493 2518493 defendant Lane John husbandman 617733 617733 Lane, John, of Magna Wylbram, 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 13.477ms