home / cp40x

names

5 rows where case_id = 2083025

✎ 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
4164260 2083025 2083025 plaintiff Turnor Thomas     Turnor, Thomas 0
4164261 2083025 2083025 defendant Maddocke Thomas yeoman 588373 588373 Maddocke, Thomas, of Rosse, yeoman 0
4164262 2083025 2083025 defendant Mutlowe Christopher husbandman 706716 706716 Mutlowe, Christopher, of Whithington, husbandman 1
4164263 2083025 2083025 defendant Powell John husbandman 659189 659189 Powell, John, of How Caple, husbandman 2
4164264 2083025 2083025 defendant Mayo Walter joiner 658016 658016 Mayo, Walter, of Solers Hope, joiner 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 14.498ms