home / cp40x

names

6 rows where place_id = 605051

✎ 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
3660214 1913456 1913456 defendant Moore Richard smith 605051 605051 Moore, Richard, of Anseley, smith 0
3694727 1924556 1924556 plaintiff Palmer Richard gent 605051 605051 Palmer, Richard, of Anseley, gent 0
3915910 1995701 1995701 defendant Pygeon Simon gent 605051 605051 Pygeon, Simon, of Anseley, gent 0
3917351 1996162 1996162 defendant Clarke Thomas husbandman 605051 605051 Clarke, Thomas, of Anseley, husbandman 0
5347255 2459308 2459308 defendant Repyngale William husbandman 605051 605051 Repyngale, William, of Anseley, husbandman 1
5546312 2518918 2518918 defendant Ludford John   605051 605051 Ludford, John, of Anseley 0

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 13.622ms