home / cp40x

names

5 rows where case_id = 2465461

✎ 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
5367419 2465461 2465461 plaintiff Clopton William esq   Clopton, William, esq 0
5367420 2465461 2465461 defendant Bagot Nicholas in Mildenale   Bagot, Nicholas, in Mildenale 0
5367421 2465461 2465461 defendant Spenser John yeoman 598342 598342 Spenser, John, of Mildenale, yeoman 1
5367422 2465461 2465461 defendant (illegible) (illegible) yeoman 767422 767422 ----, -----, of Swafham Bulbek, Cambs, yeoman 2
5367423 2465461 2465461 defendant Hechecok John husbandman 878427 878427 Hechecok, John, of Mapylsted, Essex, husbandman 3

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.242ms