home / cp40x

names

7 rows where case_id = 2223216

✎ 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
4573412 2223216 2223216 plaintiff Barkere John   588833 588833 Barkere, John, of Stratton 0
4573413 2223216 2223216 defendant Pounde Robert   770989 770989 Pounde, Robert, of Gelyngham by Beccles 0
4573414 2223216 2223216 defendant Benne John   762123 762123 Benne, John, of Roudham 1
4573415 2223216 2223216 defendant Toubil Robert   770990 770990 Toubil, Robert, of Hethil 2
4573416 2223216 2223216 defendant Carleton Robert the parish priest, in   Carleton, Robert, the parish priest, in 3
4573417 2223216 2223216 defendant Herberd John   585936 585936 Herberd, John, of Norwich 4
4573418 2223216 2223216 defendant Broun John   770991 770991 Broun, John, of Cudenham 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 13.291ms