home / cp40x

names

8 rows where case_id = 2368853

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5040760 2368853 2368853 plaintiff Carlisle or Karliol   prior of the Cathedral of the BVM   Carlisle or Karliol, prior of the Cathedral of the BVM 0
5040761 2368853 2368853 defendant Thomson Thomas yeoman 799528 799528 Thomson, Thomas, of Aynstaple, yeoman 0
5040762 2368853 2368853 defendant Huetson Robert yeoman 838595 838595 Huetson, Robert, of Rukecroft, yeoman 1
5040763 2368853 2368853 defendant Watson John yeoman 799528 799528 Watson, John, of Aynstaple, yeoman 2
5040764 2368853 2368853 defendant Thomson Thomas yeoman 613023 613023 Thomson, Thomas, of Dale, yeoman 3
5040765 2368853 2368853 defendant Fosse John merchant 609305 609305 Fosse, John, of Knaresburgh, Yorks, merchant 4
5040766 2368853 2368853 defendant Daweson John yeoman 778352 778352 Daweson, John, of Greystok, yeoman 5
5040767 2368853 2368853 defendant Bek Adam   838596 838596 Bek, Adam, of Penereth, y 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 17.232ms