home / cp40x

names

6 rows where case_id = 2307469

✎ 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
4836782 2307469 2307469 plaintiff Farnell Alexander tailor 585869 585869 Farnell, Alexander, of London, tailor 0
4836783 2307469 2307469 defendant Clerk Nicholas   810305 810305 Clerk, Nicholas, of Leyham, Suffolk, parson 0
4836784 2307469 2307469 defendant Parker William esq 810306 810306 Parker, William, of Taneworth, Worcs, esq 1
4836785 2307469 2307469 defendant Lyttelbery John yeoman 810307 810307 Lyttelbery, John, of Strixton, Nhants, yeoman 2
4836786 2307469 2307469 defendant Walker William esq 810308 810308 Walker, William, of Geddyng, Hunts, esq 3
4836787 2307469 2307469 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 16.908ms