home / cp40x

names

6 rows where case_id = 2057977

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4093450 2057977 2057977 plaintiff Exelbye Miles (legal representative)   Exelbye, Miles, executrix of 0
4093451 2057977 2057977 plaintiff Exelbye Alice widow   Exelbye, Alice, widow 1
4093452 2057977 2057977 defendant Leake Francis gent 617346 617346 Leake, Francis, of Sutton, Derbs, gent 0
4093453 2057977 2057977 defendant Purfrey Humphrey gent 662092 662092 Purfrey, Humphrey, of Grays Inn, Middx, gent 1
4093454 2057977 2057977 defendant Dabridgecorte Thomas gent 692152 692152 Dabridgecorte, Thomas, of Streford in le Sea , Hants, gent 2
4093455 2057977 2057977 defendant Ewens Alexander gent 660226 660226 Ewens, Alexander, of Wyncanton, Soms, gent 3

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