home / cp40x

names

6 rows where case_id = 2471314

✎ 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
5386890 2471314 2471314 plaintiff Dessanes Emanuel knight   Dessanes, Emanuel, knight 0
5386891 2471314 2471314 defendant Trebarwyth Thomas husbandman 600523 600523 Trebarwyth, Thomas, of St Columbe, husbandman 0
5386892 2471314 2471314 defendant Trebarwith Philip husbandman 881497 881497 Trebarwith, Philip, of Nether Seynt Columbe, husbandman 1
5386893 2471314 2471314 defendant Tredower William fuller of cloth 595682 595682 Tredower, William, of St Probus, fuller of cloth 2
5386894 2471314 2471314 defendant Cassew John husbandman 595682 595682 Cassew, John, of St Probus, husbandman 3
5386895 2471314 2471314 defendant Bassett Thomas husbandman 881498 881498 Bassett, Thomas, of St Keysek, 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 8.411ms