home / cp40x

names

6 rows where case_id = 2465927

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5369079 2465927 2465927 plaintiff Dylham Edmund   585936 585936 Dylham, Edmund, of Norwich, thick woollen weaver 0
5369080 2465927 2465927 defendant Eryng John laborer 600367 600367 Eryng, John, of Saham Tony, Norf, laborer 0
5369081 2465927 2465927 defendant Pytman John brewer 878719 878719 Pytman, John, of Norwiech, brewer 1
5369082 2465927 2465927 defendant Playford William tailor 585936 585936 Playford, William, of Norwich, tailor 2
5369083 2465927 2465927 defendant Palmer Robert husbandman 604028 604028 Palmer, Robert, of Acle, Norf, husbandman 3
5369084 2465927 2465927 defendant Ferrour William   585936 585936 Ferrour, William, of Norwich, bed weaver 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 5.845ms