home / cp40x

names

6 rows where case_id = 2000539

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3930477 2000539 2000539 plaintiff Coton John salter 585869 585869 Coton, John, of London, salter 0
3930478 2000539 2000539 defendant Alporte Ralph merchant 586254 586254 Alporte, Ralph, of Southampton, merchant 0
3930479 2000539 2000539 defendant Chetwyn Thomas esq 646200 646200 Chetwyn, Thomas, of Ingestre, Staffs, esq 1
3930480 2000539 2000539 defendant Aburton John waynman 653953 653953 Aburton, John, of Maburley, Derbs, waynman 2
3930481 2000539 2000539 defendant Popeham Nicholas clothier 653954 653954 Popeham, Nicholas, of Tiverton, Devon, clothier 3
3930482 2000539 2000539 defendant Fulbrucke Thomas chapman 653955 653955 Fulbrucke, Thomas, of Burpotte, Dors, chapman 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 15.493ms