home / cp40x

names

7 rows where case_id = 2427111

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5239414 2427111 2427111 plaintiff Hill Robert     Hill, Robert 0
5239415 2427111 2427111 defendant Elsy John husbandman 862987 862987 Elsy, John, of Stubbylane, husbandman 0
5239416 2427111 2427111 defendant Elsy William laborer 862987 862987 Elsy, William, of Stubbylane, laborer 1
5239417 2427111 2427111 defendant Carter John laborer 862987 862987 Carter, John, of Stubbylane, laborer 2
5239418 2427111 2427111 defendant Wareyn John laborer 862988 862988 Wareyn, John, of Honnhill, laborer 3
5239419 2427111 2427111 defendant Eggyngton Robert laborer 861168 861168 Eggyngton, Robert, of Uttoxather, laborer 4
5239420 2427111 2427111 defendant Decun William laborer 624525 624525 Decun, William, of Sudbury, Derbs, laborer 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 16.566ms