home / cp40x

names

6 rows where case_id = 1868084

✎ 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
3601331 1868084 1868084 plaintiff Aylemer Lawrence     Aylemer, Lawrence 0
3601332 1868084 1868084 defendant Frogmerton Robert esq 590476 590476 Frogmerton, Robert, of Koweton, Warks, esq 0
3601333 1868084 1868084 defendant Pympe Reginald esq 590477 590477 Pympe, Reginald, of Netylsted, Kent, esq 1
3601334 1868084 1868084 defendant Broke Edward yeoman 590478 590478 Broke, Edward, of Sandwich, Kent, yeoman 2
3601335 1868084 1868084 defendant (not given) John abbot of Tiltey Abbey   Tiltey Abbey, John, abbot of 3
3601336 1868084 1868084 defendant Kent John canon   Kent, John, canon 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 14.366ms