home / cp40x

names

3 rows where case_id = 2305688

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4830897 2305688 2305688 plaintiff Boton John   589336 589336 Boton, John, of Stokbery 0
4830898 2305688 2305688 defendant Matte Geoffrey husbandman 809274 809274 Matte, Geoffrey, of Halghsto by Newynton, husbandman 0
4830899 2305688 2305688 defendant Tyde Thomas husbandman 809275 809275 Tyde, Thomas, of Stoke, in the hundred of Hoo, husbandman 1

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.015ms