home / cp40x

names

9 rows where case_id = 1988798

✎ 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
3895783 1988798 1988798 plaintiff Strotte John clerk   Strotte, John, clerk 0
3895784 1988798 1988798 defendant Wynter James gent 602893 602893 Wynter, James, of Sall, gent 0
3895785 1988798 1988798 defendant Pykerell James yeoman 602893 602893 Pykerell, James, of Sall, yeoman 1
3895786 1988798 1988798 defendant Seman Thomas yeoman 587447 587447 Seman, Thomas, of Kerdeston, yeoman 2
3895787 1988798 1988798 defendant Graver Robert yeoman 587447 587447 Graver, Robert, of Kerdeston, yeoman 3
3895788 1988798 1988798 defendant Emmer Henry laborer 602893 602893 Emmer, Henry, of Sall, laborer 4
3895789 1988798 1988798 defendant Dakke William husbandman 587447 587447 Dakke, William, of Kerdeston, husbandman 5
3895790 1988798 1988798 defendant Barker Roger laborer 602893 602893 Barker, Roger, of Sall, laborer 6
3895791 1988798 1988798 defendant Brese Nicholas husbandman 587447 587447 Brese, Nicholas, of Kerdeston, husbandman 7

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 13.021ms