home / cp40x

names

7 rows where case_id = 2536891

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5606387 2536891 2536891 plaintiff Thurland Thomas esq   Thurland, Thomas, esq 0
5606388 2536891 2536891 defendant Rodes John miller 901950 901950 Rodes, John, of Hekylsall, Derbs, miller 0
5606389 2536891 2536891 defendant Lee Roger yeoman 901951 901951 Lee, Roger, of Hekylsall, yeoman 1
5606390 2536891 2536891 defendant More John yeoman 758252 758252 More, John, of West Norton, yeoman 2
5606391 2536891 2536891 defendant Lee Geoffrey yeoman 905214 905214 Lee, Geoffrey, of Lymhall, Derbs, yeoman 3
5606392 2536891 2536891 defendant Weylche William yeoman 905215 905215 Weylche, William, of Staley Wodhowse, Derbs, yeoman 4
5606393 2536891 2536891 defendant Blande Richard yeoman 586143 586143 Blande, Richard, of Norton, 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.818ms