home / cp40x

names

7 rows where case_id = 2005569

✎ 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
3945688 2005569 2005569 plaintiff Brode Thomas     Brode, Thomas 0
3945689 2005569 2005569 defendant Hambly John husbvandman 657779 657779 Hambly, John, of Warbestowe, husbvandman 0
3945690 2005569 2005569 defendant Hambley Stephen laborer 657779 657779 Hambley, Stephen, of Warbestowe, laborer 1
3945691 2005569 2005569 defendant Hambly John, junior laborer 657779 657779 Hambly, John, junior, of Warbestowe, laborer 2
3945692 2005569 2005569 defendant Joslyn William husbandman 657779 657779 Joslyn, William, of Warbestowe, husbandman 3
3945693 2005569 2005569 defendant Scott John miner 624415 624415 Scott, John, of Treneglose, miner 4
3945694 2005569 2005569 defendant Holman John husbandman 605995 605995 Holman, John, of Dewstowe, husbandman 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 14.963ms