home / cp40x

names

6 rows where case_id = 1903018

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3626082 1903018 1903018 plaintiff Alyngton Giles knight, sheriff of Cams   Alyngton, Giles, knight, sheriff of Cams 0
3626083 1903018 1903018 defendant Talleworth John yeoman 596761 596761 Talleworth, John, of Brynkeley, yeoman 0
3626084 1903018 1903018 defendant Harvy Thomas yeoman 593015 593015 Harvy, Thomas, of Melreth, yeoman 1
3626085 1903018 1903018 defendant Byrd Thomas yeoman 589100 589100 Byrd, Thomas, of Chesterton, yeoman 2
3626086 1903018 1903018 defendant Blak William yeoman 590827 590827 Blak, William, of Gamlyngey, yeoman 3
3626087 1903018 1903018 defendant Hardyng John yeoman 596762 596762 Hardyng, John, of Papworth Agnes, Hunts, yeoman 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.164ms