home / cp40x

names

7 rows where case_id = 2297792

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4805083 2297792 2297792 plaintiff Brewe John clerk   Brewe, John, clerk, executor of 0
4805084 2297792 2297792 plaintiff Fox John     Fox, John 1
4805085 2297792 2297792 defendant Coteman John yeoman 804728 804728 Coteman, John, of Bexmere, yeoman 0
4805086 2297792 2297792 defendant Halle Thomas (legal representative)   Halle, Thomas, executrix of 1
4805087 2297792 2297792 defendant Halle Joan   769498 769498 Halle, Joan, of Helweton, widow, formerly wife of Testator 2
4805088 2297792 2297792 defendant Reve William (legal representative)   Reve, William, administrator of 3
4805089 2297792 2297792 defendant Roger John   804730 804730 Roger, John, of Berquye or Barkway(? 4

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