home / cp40x

names

6 rows where case_id = 2349505

✎ 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
4975020 2349505 2349505 plaintiff More Robert     More, Robert 0
4975021 2349505 2349505 defendant Yonge Nicholas shoemaker 589623 589623 Yonge, Nicholas, of Gatele, shoemaker 0
4975022 2349505 2349505 defendant Wystan Alan baker 588926 588926 Wystan, Alan, of North Elmham, baker 1
4975023 2349505 2349505 defendant Colyn John   591892 591892 Colyn, John, of Brysle, collar maker 2
4975024 2349505 2349505 defendant Rode John butcher 829442 829442 Rode, John, of Cranneworth, butcher 3
4975025 2349505 2349505 defendant Toly Richard shoemaker 587836 587836 Toly, Richard, of Folsham, shoemaker 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 12.895ms