home / cp40x

names

7 rows where case_id = 2348328

✎ 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
4971210 2348328 2348328 plaintiff Holthorp William esq   Holthorp, William, esq 0
4971211 2348328 2348328 defendant Denys Thomas yeoman 724869 724869 Denys, Thomas, of Magna Edston, yeoman 0
4971212 2348328 2348328 defendant Walker John wealker 724869 724869 Walker, John, of Magna Edston, wealker 1
4971213 2348328 2348328 defendant Toth John husbandman 724869 724869 Toth, John, of Magna Edston, husbandman 2
4971214 2348328 2348328 defendant Paton John husbandman 724869 724869 Paton, John, of Magna Edston, husbandman 3
4971215 2348328 2348328 defendant Smyth William husbandman 724869 724869 Smyth, William, of Magna Edston, husbandman 4
4971216 2348328 2348328 defendant Toth William husbandman 724869 724869 Toth, William, of Magna Edston, husbandman 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 14.759ms