home / cp40x

names

7 rows where case_id = 2437866

✎ 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
5275361 2437866 2437866 plaintiff Smyth John     Smyth, John, on his own account 0
5275362 2437866 2437866 defendant Palmer Robert yeoman 598520 598520 Palmer, Robert, of Ansley, yeoman 0
5275363 2437866 2437866 defendant Brette William gent 598520 598520 Brette, William, of Ansley, gent 1
5275364 2437866 2437866 defendant Blakenhale Thomas husbandman 593774 593774 Blakenhale, Thomas, of Sheldon, husbandman 2
5275365 2437866 2437866 defendant Derby John (legal representative) 586117 586117 Derby, John, of Coventry, executors of 3
5275366 2437866 2437866 defendant Derby John gent 772981 772981 (Derby, John, of Gaddesby, Leics, gent 4
5275367 2437866 2437866 defendant Derby William gent 627571 627571 Derby, William, of Gaddesby, gent 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.372ms