home / cp40x

names

6 rows where case_id = 2270941

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4717904 2270941 2270941 plaintiff Assheton John fishmonger 585869 585869 Assheton, John, of London, fishmonger 0
4717905 2270941 2270941 defendant Marchall Thomas fishmonger 606265 606265 Marchall, Thomas, of Kyngeston upon Thames, fishmonger 0
4717906 2270941 2270941 defendant Gregory Henry   738966 738966 Gregory, Henry, of Romney, Kent, husbandman, formerly of London 1
4717907 2270941 2270941 defendant Gray Robert yeoman 589720 589720 Gray, Robert, of Stanes, Middx, yeoman 2
4717908 2270941 2270941 defendant Bagg Hugh fisher & ripyer 585974 585974 Bagg, Hugh, of Shaftesbury, Dorset, fisher & ripyer 3
4717909 2270941 2270941 defendant Broke William shipman 590478 590478 Broke, William, of Sandwich, Kent, shipman 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.297ms