home / cp40x

names

7 rows where case_id = 2518492

✎ 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
5544829 2518492 2518492 plaintiff Semar Thomas (legal representative) 586312 586312 Semar, Thomas, of Walden, yeoman, executrix of 0
5544830 2518492 2518492 plaintiff Semar Katherine widow   Semar, Katherine, widow 1
5544831 2518492 2518492 defendant Courtman Richard husbandman 588991 588991 Courtman, Richard, of Magna Waltham, husbandman 0
5544832 2518492 2518492 defendant Wareyn Thomas yeoman 597660 597660 Wareyn, Thomas, of Danbury, yeoman 1
5544833 2518492 2518492 defendant Fryday John yeoman 589377 589377 Fryday, John, of Thaxsted, yeoman 2
5544834 2518492 2518492 defendant Gesop John husbandman 600424 600424 Gesop, John, of Latton, husbandman 3
5544835 2518492 2518492 defendant Adam Thomas husbandman 600424 600424 Adam, Thomas, of Latton, 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 15.131ms