home / cp40x

names

7 rows where case_id = 2021255

✎ 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
3990208 2021255 2021255 plaintiff Bentley Edward     Bentley, Edward 0
3990209 2021255 2021255 defendant Curson Francis esq 668703 668703 Curson, Francis, of Bedleston, esq 0
3990210 2021255 2021255 defendant Knyveton Thomas esq 611517 611517 Knyveton, Thomas, of Myrcaston, esq 1
3990211 2021255 2021255 defendant Sutton John yeoman 668704 668704 Sutton, John, of Shattell Parke, yeoman 2
3990212 2021255 2021255 defendant Hall Nicholas of Duffeld yeoman   Hall, Nicholas of Duffeld, yeoman 3
3990213 2021255 2021255 defendant Kaye John yeoman 668705 668705 Kaye, John, of Coweslane, yeoman 4
3990214 2021255 2021255 defendant Bolt Thomas yeoman 668706 668706 Bolt, Thomas, of Posterne Parke, yeoman 5

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.702ms