home / cp40x

names

6 rows where case_id = 2234554

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4611158 2234554 2234554 plaintiff Choude John   585951 585951 Choude, John, of Winchester 0
4611159 2234554 2234554 defendant Gylot Nicholas   760468 760468 Gylot, Nicholas, of Pambere 0
4611160 2234554 2234554 defendant Skures John   759871 759871 Skures, John, of Hecfeld 1
4611161 2234554 2234554 defendant Smyth John   774370 774370 Smyth, John, of Whittewey 2
4611162 2234554 2234554 defendant Smyth Thomas   601175 601175 Smyth, Thomas, of Wherwell 3
4611163 2234554 2234554 defendant Wolvell John smith 774371 774371 Wolvell, John, of Husburne, smith 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 5.576ms