home / cp40x

names

6 rows where case_id = 2466197

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5369963 2466197 2466197 plaintiff Furbysshour John grocer 585936 585936 Furbysshour, John, of Norwich, grocer 0
5369964 2466197 2466197 defendant Petyclerk Simon grocer 585936 585936 Petyclerk, Simon, of Norwich, grocer 0
5369965 2466197 2466197 defendant Cupper Robert husbandman 639256 639256 Cupper, Robert, of Hengham, Norf, husbandman 1
5369966 2466197 2466197 defendant Broun Thomas, senior husbandman 599525 599525 Broun, Thomas, senior, of North Elmham, Norf, husbandman 2
5369967 2466197 2466197 defendant Fedymount William miller 878889 878889 Fedymount, William, of Tronce by Norwich, miller 3
5369968 2466197 2466197 defendant Gedney Richard   585936 585936 Gedney, Richard, of Norwich, tallow chandler 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.171ms