home / cp40x

names

7 rows where case_id = 2388202

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5106032 2388202 2388202 plaintiff Cottesford John     Cottesford, John 0
5106033 2388202 2388202 defendant Bonsfell or Bousfell William yeoman 847035 847035 Bonsfell or Bousfell, William, of Thornescales, yeoman 0
5106034 2388202 2388202 defendant Overton Henry yeoman 802094 802094 Overton, Henry, of Magna Askeby, yeoman 1
5106035 2388202 2388202 defendant Burcy Henry yeoman 847036 847036 Burcy, Henry, of Parva Askeby, yeoman 2
5106036 2388202 2388202 defendant Bonsfell or Bousfell Henry yeoman 847037 847037 Bonsfell or Bousfell, Henry, of Haloughill, yeoman 3
5106037 2388202 2388202 defendant Hall Robert yeoman 847038 847038 Hall, Robert, of Langsleddale, yeoman 4
5106038 2388202 2388202 defendant Prestcosyn John, junior yeoman 847036 847036 Prestcosyn, John, junior, of Parva Askeby, yeoman 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 11.937ms