home / cp40x

names

6 rows where case_id = 2241157

✎ 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
4632879 2241157 2241157 plaintiff Wales Henry prince of   Wales, Henry, prince of 0
4632880 2241157 2241157 defendant Welleford John   739739 739739 Welleford, John, of Kirketon 0
4632881 2241157 2241157 defendant Grenefeld John   776354 776354 Grenefeld, John, of East Boterwyk 1
4632882 2241157 2241157 defendant Burnham William   767144 767144 Burnham, William, of Kirketon in Lyndesey 2
4632883 2241157 2241157 defendant Scorburgh William   701115 701115 Scorburgh, William, of Roxby 3
4632884 2241157 2241157 defendant Hicham William   776355 776355 Hicham, William, of Bornyngham 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 16.2ms