home / cp40x

names

6 rows where case_id = 2381446

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5083071 2381446 2381446 plaintiff Emson Richard     Emson, Richard 0
5083072 2381446 2381446 defendant Thurkeld John husbandman 590116 590116 Thurkeld, John, of Stratton Streles, husbandman 0
5083073 2381446 2381446 defendant Curlay John baker 589042 589042 Curlay, John, of Heydon, baker 1
5083074 2381446 2381446 defendant Costard John husbandman 614703 614703 Costard, John, of Wodebastwyk, husbandman 2
5083075 2381446 2381446 defendant Bolte John baker 764406 764406 Bolte, John, of Hikelyng, baker 3
5083076 2381446 2381446 defendant Geffreys Thomas husbandman 603944 603944 Geffreys, Thomas, of Dilham, husbandman 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 13.693ms