home / cp40x

names

10 rows where case_id = 2347727

✎ 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
4969113 2347727 2347727 plaintiff Gosse Richard     Gosse, Richard 0
4969114 2347727 2347727 defendant William David yeoman 587426 587426 William, David, of Canyngton, yeoman 0
4969115 2347727 2347727 defendant Davy John tanner 585996 585996 Davy, John, of Briggewater, tanner 1
4969116 2347727 2347727 defendant Baker David yeoman 585996 585996 Baker, David, of Briggewater, yeoman 2
4969117 2347727 2347727 defendant atte Welle William mercer 585996 585996 atte Welle, William, of Briggewater, mercer 3
4969118 2347727 2347727 defendant Smyth William yeoman 585996 585996 Smyth, William, of Briggewater, yeoman 4
4969119 2347727 2347727 defendant Wylt John yeoman 585996 585996 Wylt, John, of Briggewater, yeoman 5
4969120 2347727 2347727 defendant Godehyve or Godehyne Thomas mercer 585996 585996 Godehyve or Godehyne, Thomas, of Briggewater, mercer 6
4969121 2347727 2347727 defendant Bercorne John butcher 585996 585996 Bercorne, John, of Briggewater, butcher 7
4969122 2347727 2347727 defendant Acton Thomas   585996 585996 together with Acton, Thomas, of Briggewater, apothecary 8

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.393ms