home / cp40x

names

6 rows where case_id = 2447251

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5307483 2447251 2447251 plaintiff Philip John tailor 585869 585869 Philip, John, of London, tailor 0
5307484 2447251 2447251 defendant Burgh Thomas   585869 585869 Burgh, Thomas, of London, knight 0
5307485 2447251 2447251 defendant Colvyle Robert esq 809218 809218 Colvyle, Robert, of Hayton, Cumberland, esq 1
5307486 2447251 2447251 defendant Lewekener Walter gent 594470 594470 Lewekener, Walter, of Suthwerk, Surrey, gent 2
5307487 2447251 2447251 defendant Burton Robert esq 817138 817138 Burton, Robert, of Lambehithe, Surrey, esq 3
5307488 2447251 2447251 defendant Stokdale John yeoman 871437 871437 Stokdale, John, of Rascall, Yorks, yeoman 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.099ms