home / cp40x

names

6 rows where case_id = 2390977

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5115555 2390977 2390977 plaintiff Mustell John, junior     Mustell, John, junior 0
5115556 2390977 2390977 defendant Freman Robert brewer 585869 585869 Freman, Robert, of London, brewer 0
5115557 2390977 2390977 defendant Flammell William brewer 585869 585869 Flammell, William, of London, brewer 1
5115558 2390977 2390977 defendant Brightmere John, senior husbandman 586058 586058 Brightmere, John, senior, of Enfeld, Middx, husbandman 2
5115559 2390977 2390977 defendant Dykon John husbandman 831495 831495 Dykon, John, of Eston, Hunts, husbandman 3
5115560 2390977 2390977 defendant Olyver John husbandman 616269 616269 Olyver, John, of Benyngton, Herts, 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 15.779ms