home / cp40x

names

7 rows where case_id = 2500171

✎ 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
5484069 2500171 2500171 plaintiff Marchaunt Richard     Marchaunt, Richard 0
5484070 2500171 2500171 defendant Damary Richard yeoman 603199 603199 Damary, Richard, of Thaksted, Essex, yeoman 0
5484071 2500171 2500171 defendant Dyer John husbandman 892133 892133 Dyer, John, of Bomsted, Essex, husbandman 1
5484072 2500171 2500171 defendant Symond Henry husbandman 590846 590846 Symond, Henry, of Shipdam, husbandman 2
5484073 2500171 2500171 defendant Hamme John butcher 587172 587172 Hamme, John, of Est Derham, butcher 3
5484074 2500171 2500171 defendant Vyncent Robert butcher 590362 590362 Vyncent, Robert, of Eston, butcher 4
5484075 2500171 2500171 defendant Whyte William   776753 776753 Whyte, William, of Bowethorp, shepherd 5

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