home / cp40x

names

6 rows where case_id = 2367327

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5035797 2367327 2367327 plaintiff Tovy John     Tovy, John 0
5035798 2367327 2367327 defendant Bylagh Roger husbandman 837870 837870 Bylagh, Roger, of Suth Burlyngham, husbandman 0
5035799 2367327 2367327 defendant Norgate William husbandman 586796 586796 Norgate, William, of Halveryate, husbandman 1
5035800 2367327 2367327 defendant Eche Henry husbandman 588438 588438 Eche, Henry, of Wykhampton, husbandman 2
5035801 2367327 2367327 defendant Berton Robert husbandman 837871 837871 Berton, Robert, of Tynstale, husbandman 3
5035802 2367327 2367327 defendant Berton Thomas butcher 594686 594686 Berton, Thomas, of Frethorp, butcher 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 11.144ms