home / cp40x

names

7 rows where case_id = 2536890

✎ 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
5606380 2536890 2536890 plaintiff Thurland Thomas esq   Thurland, Thomas, esq 0
5606381 2536890 2536890 defendant Rodes John miller 901950 901950 Rodes, John, of Hekylsall, Derbs, miller 0
5606382 2536890 2536890 defendant Lee Roger yeoman 901951 901951 Lee, Roger, of Hekylsall, yeoman 1
5606383 2536890 2536890 defendant More John yeoman 758252 758252 More, John, of West Norton, yeoman 2
5606384 2536890 2536890 defendant Lee Geoffrey alias Oliver yeoman 905214 905214 Lee, Geoffrey alias Oliver, of Lymhall, Derbs, yeoman 3
5606385 2536890 2536890 defendant Welche William yeoman 905215 905215 Welche, William, of Staley Wodhowse, Derbs, yeoman 4
5606386 2536890 2536890 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 8.643ms