home / cp40x

names

6 rows where case_id = 2241158

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4632885 2241158 2241158 plaintiff Wales Henry prince of   Wales, Henry, prince of 0
4632886 2241158 2241158 defendant Welleford John   591278 591278 Welleford, John, of Kyrketon 0
4632887 2241158 2241158 defendant Grenefeld John   776354 776354 Grenefeld, John, of East Boterwyk 1
4632888 2241158 2241158 defendant Burnham William   776356 776356 Burnham, William, of Kyrketon, in Lyndesey 2
4632889 2241158 2241158 defendant Scorburgh William   701115 701115 Scorburgh, William, of Roxby 3
4632890 2241158 2241158 defendant Hicham William   776357 776357 Hicham, William, of Beryngham 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 7.835ms