home / cp40x

names

4 rows where case_id = 2065843

✎ 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
4115534 2065843 2065843 plaintiff Waidson Robert gent   Waidson, Robert, gent 0
4115535 2065843 2065843 defendant Stockwith Edmund gent 696621 696621 Stockwith, Edmund, of Stockwith, Notts, gent 0
4115536 2065843 2065843 defendant Fletcher Robert (legal representative) 696622 696622 Fletcher, Robert, of Stoke Bardolff, Notts, gent, executor of 1
4115537 2065843 2065843 defendant Fletcher Francis gent 696624 696624 Fletcher, Francis, of Godlynge, Notts, gent 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 15.844ms