home / cp40x

names

5 rows where case_id = 2522292

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5557986 2522292 2522292 plaintiff Owen David knight   Owen, David, knight 0
5557987 2522292 2522292 plaintiff Wyndesore Andrew esq   Wyndesore, Andrew, esq 1
5557988 2522292 2522292 defendant Holt Joseph   607658 607658 Holt, Joseph, of Haukherst, Kent, "repyer" 0
5557989 2522292 2522292 defendant Brode Robert repyer 586560 586560 Brode, Robert, of Godeherst, Kent, repyer 1
5557990 2522292 2522292 defendant Bulfynch John repyer 899896 899896 Bulfynch, John, of Flymswell, Kent, repyer 2

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 14.407ms