home / cp40x

names

5 rows where case_id = 1940831

✎ 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
3746540 1940831 1940831 plaintiff Coo Christopher esq   Coo, Christopher, esq 0
3746541 1940831 1940831 defendant Dudley Thomas esq 586033 586033 Dudley, Thomas, of Westminster, esq 0
3746542 1940831 1940831 defendant Ely Thomas   605966 605966 Ely, Thomas, of Hampton, "Inkepar" 1
3746543 1940831 1940831 defendant Mabbys Geoffrey yeoman 622354 622354 Mabbys, Geoffrey, of West Barham, yeoman 2
3746544 1940831 1940831 defendant Purton John gent 619140 619140 Purton, John, of Bentley Parva, Essex, 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 10.589ms