home / cp40x

names

6 rows where case_id = 2018991

✎ 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
3983837 2018991 2018991 plaintiff Stede William merchant or innholder 585936 585936 Stede, William, of Norwich, merchant or innholder 0
3983838 2018991 2018991 defendant Pore John mariner 585933 585933 Pore, John, of Great Yarmouth, mariner 0
3983839 2018991 2018991 defendant Berneby Francis mariner 585933 585933 Berneby, Francis, of Great Yarmouth, mariner 1
3983840 2018991 2018991 defendant Bunnyng Thomas yeoman 588641 588641 Bunnyng, Thomas, of Denton, yeoman 2
3983841 2018991 2018991 defendant Fuller Ralph butcher 602132 602132 Fuller, Ralph, of Cawston, butcher 3
3983842 2018991 2018991 defendant Stubberd William husbandman 614807 614807 Stubberd, William, of Skottowe, husbandman 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 14.581ms