home / cp40x

names

7 rows where case_id = 1982773

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3877665 1982773 1982773 plaintiff Huttoft Henry     Huttoft, Henry 0
3877666 1982773 1982773 defendant Gregory John smith 590448 590448 Gregory, John, of Alton, smith 0
3877667 1982773 1982773 defendant Hame John smith 587004 587004 Hame, John, of Preston Candever, smith 1
3877668 1982773 1982773 defendant Smyth Gregory smith 644086 644086 Smyth, Gregory, of South Warborough, smith 2
3877669 1982773 1982773 defendant Culpaper Richard (legal representative)   Culpaper, Richard, executors of 3
3877670 1982773 1982773 defendant Jenyns Nicholas draper 585969 585969 (Jenyns, Nicholas, of Lewys, Sussex, draper 4
3877671 1982773 1982773 defendant Swayne Richard brewer 586986 586986 Swayne, Richard, of Lewys, brewer 5

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