home / cp40x

names

6 rows where case_id = 2394310

✎ 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
5126792 2394310 2394310 plaintiff Briggs Thomas draper 585869 585869 Briggs, Thomas, of London, draper 0
5126793 2394310 2394310 plaintiff Briggis Robert draper 585869 585869 Briggis, Robert, of London, draper 1
5126794 2394310 2394310 defendant Eston John yeoman 596638 596638 Eston, John, of South Mymmes, yeoman 0
5126795 2394310 2394310 defendant Poule John tailor 585869 585869 Poule, John, of London, tailor 1
5126796 2394310 2394310 defendant Hertilpole John gent 587237 587237 Hertilpole, John, of Colbroke, gent 2
5126797 2394310 2394310 defendant atte Wode Thomas husbandman 732598 732598 atte Wode, Thomas, of Willesdon, husbandman 3

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