home / cp40x

names

6 rows where case_id = 2401388

✎ 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
5150833 2401388 2401388 plaintiff Gay Thomas jun, of London, tailor   Gay, Thomas, jun, of London, tailor 0
5150834 2401388 2401388 defendant Passhele John esq 638406 638406 Passhele, John, of Smethe, Kent, esq 0
5150835 2401388 2401388 defendant Bodulgate Thomas esq 853513 853513 Bodulgate, Thomas, of Treycruke, Cornwall, esq 1
5150836 2401388 2401388 defendant (not given) of Erdyhnglegh (legal representative)   [vacated], of Erdyhnglegh, executors of 2
5150837 2401388 2401388 defendant (not given) of Hastyng Sussex, fishmonger   ([vacated}, of Hastyng, Sussex, fishmonger 3
5150838 2401388 2401388 defendant (not given) Elizabeth widow 850493 850493 [vacated], Elizabeth, of Erdynglegh, Sussex, widow 4

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