home / cp40x

names

8 rows where case_id = 1872738

✎ 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
3616295 1872738 1872738 plaintiff de Vere John Earl of Oxford   de Vere, John, Earl of Oxford 0
3616296 1872738 1872738 defendant Tyrrell Jasper esq 594482 594482 Tyrrell, Jasper, of North Shobery, esq 0
3616297 1872738 1872738 defendant Pyke John yeoman 594482 594482 Pyke, John, of North Shobery, yeoman 1
3616298 1872738 1872738 defendant Dewe James yeoman 594483 594483 Dewe, James, of Wakeryng, yeoman 2
3616299 1872738 1872738 defendant Geale John yeoman 594484 594484 Geale, John, of Southchurch, yeoman 3
3616300 1872738 1872738 defendant Anderkyn John yeoman 594485 594485 Anderkyn, John, of Canynden, yeoman 4
3616301 1872738 1872738 defendant Bover or Bouer Richard husbandman 594486 594486 Bover or Bouer, Richard, of Beche, husbandman 5
3616302 1872738 1872738 defendant Harleston Stephen laborer 594487 594487 Harleston, Stephen, of Thunderley, laborer 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 13.631ms