home / cp40x

names

8 rows where case_id = 2295705

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4798475 2295705 2295705 plaintiff Sutton Robert     Sutton, Robert 0
4798476 2295705 2295705 defendant Hunt John yeoman 586305 586305 Hunt, John, of Fordham, yeoman 0
4798477 2295705 2295705 defendant Spysser John yeoman 586305 586305 Spysser, John, of Fordham, yeoman 1
4798478 2295705 2295705 defendant Wyot Thomas yeoman 590276 590276 Wyot, Thomas, of West Wynche, yeoman 2
4798479 2295705 2295705 defendant Prouberd James yeoman 588847 588847 Prouberd, James, of Congham, yeoman 3
4798480 2295705 2295705 defendant Payn John tiler 585907 585907 Payn, John, of Bishops Lenn, tiler 4
4798481 2295705 2295705 defendant Martyn John sherman 585907 585907 Martyn, John, of Bishops Lenn, sherman 5
4798482 2295705 2295705 defendant Fysshe Robert yeoman 794437 794437 Fysshe, Robert, of North Runton, yeoman 6

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 5.728ms