home / cp40x

names

8 rows where case_id = 2345629

✎ 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
4962314 2345629 2345629 plaintiff Broke Edward knight   Broke, Edward, knight 0
4962315 2345629 2345629 defendant William David yeoman 587426 587426 William, David, of Canyngton, yeoman 0
4962316 2345629 2345629 defendant Davy John tanner 585996 585996 Davy, John, of Briggewater, tanner 1
4962317 2345629 2345629 defendant Baker David yeoman 585996 585996 Baker, David, of Briggewater, yeoman 2
4962318 2345629 2345629 defendant atte Welle William mercer 585996 585996 atte Welle, William, of Briggewater, mercer 3
4962319 2345629 2345629 defendant Smyth William yeoman 585996 585996 Smyth, William, of Briggewater, yeoman 4
4962320 2345629 2345629 defendant Wylt John yeoman 585996 585996 Wylt, John, of Briggewater, yeoman 5
4962321 2345629 2345629 defendant Godehyve or Godehyne       Godehyve or Godehyne, 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 15.433ms