home / cp40x

names

7 rows where case_id = 2234223

✎ 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
4610025 2234223 2234223 plaintiff Byskele John de     Byskele, John de 0
4610026 2234223 2234223 defendant Spyk Thomas   774268 774268 Spyk, Thomas, of Bekkelys 0
4610027 2234223 2234223 defendant Hoo Adam de     Hoo, Adam de 1
4610028 2234223 2234223 defendant Tokke Robert   765439 765439 Tokke, Robert, of Covehythe 2
4610029 2234223 2234223 defendant Skyn John   636437 636437 Skyn, John, of Heiham 3
4610030 2234223 2234223 defendant Mathewe John   774269 774269 Mathewe, John, of Byskele 4
4610031 2234223 2234223 defendant Ofhant John bowmaker   Ofhant, John, bowmaker 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 12.002ms