home / cp40x

names

6 rows where case_id = 2119004

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4268293 2119004 2119004 plaintiff Hyndeley Hugh (legal representative)   Hyndeley, Hugh, executors of 0
4268294 2119004 2119004 plaintiff Gerrard William esq   (Gerrard, William, esq 1
4268295 2119004 2119004 plaintiff Moseley Nicholas alderman 585869 585869 Moseley, Nicholas, of London, alderman 2
4268296 2119004 2119004 defendant Howell John, senior merchant 586036 586036 Howell, John, senior, of Exeter, merchant 0
4268297 2119004 2119004 defendant Parker Philip   681895 681895 Parker, Philip, of Arwarton, Suff, knight 1
4268298 2119004 2119004 defendant Harryson Mathew mercer 585970 585970 Harryson, Mathew, of Oxford, mercer 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 18.671ms