home / cp40x

names

6 rows where case_id = 2307535

✎ 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
4837011 2307535 2307535 plaintiff Fernell Alexander tailor 585869 585869 Fernell, Alexander, of London, tailor 0
4837012 2307535 2307535 defendant Clerk Nicholas   810305 810305 Clerk, Nicholas, of Leyham, Suffolk, parson 0
4837013 2307535 2307535 defendant Parker William esq 810306 810306 Parker, William, of Taneworth, Worcs, esq 1
4837014 2307535 2307535 defendant Lyttelbery John yeoman 793130 793130 Lyttelbery, John, of Stryxton, Nhants, yeoman 2
4837015 2307535 2307535 defendant Walker William esq 810308 810308 Walker, William, of Geddyng, Hunts, esq 3
4837016 2307535 2307535 defendant Forster John yeoman 810309 810309 Forster, John, of Golthagh, Lincs, 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 13.753ms