home / cp40x

names

6 rows where case_id = 2119555

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4270014 2119555 2119555 plaintiff Muscott John attorney   Muscott, John, attorney 0
4270015 2119555 2119555 defendant Goodman John Nhants, yeoman 738001 738001 Goodman John, of Kelmarshe, Nhants, yeoman 0
4270016 2119555 2119555 defendant Goodman George gent 690745 690745 Goodman, George, of Eaton, Nhants, gent 1
4270017 2119555 2119555 defendant Groobye Philip yeoman 586848 586848 Groobye, Philip, of Northampton, yeoman 2
4270018 2119555 2119555 defendant Pyckeringe John gent 586621 586621 Pyckeringe, John, of Gretton, Nhants, gent 3
4270019 2119555 2119555 defendant Bate Thomas yeoman 727098 727098 Bate, Thomas, of Grafton Underwood, Nhants, yeoman 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.318ms