home / cp40x

names

7 rows where case_id = 2517237

✎ 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
5540752 2517237 2517237 plaintiff Honywode Robert clerk   Honywode, Robert, clerk 0
5540753 2517237 2517237 plaintiff Jullys John clerk   Jullys, John, clerk 1
5540754 2517237 2517237 defendant Phylypps William tailor or draper 585936 585936 Phylypps, William, of Norwich, tailor or draper 0
5540755 2517237 2517237 defendant Boty Richard husbandman 618364 618364 Boty, Richard, of Fornsett, husbandman 1
5540756 2517237 2517237 defendant Burgh Robert alderman 585936 585936 Burgh, Robert, of Norwich, notary, alderman 2
5540757 2517237 2517237 defendant Pertrych Richard grocer 585936 585936 Pertrych, Richard, of Norwich, grocer 3
5540758 2517237 2517237 defendant Brett Robert husbandman 586170 586170 Brett, Robert, of Tybenham, 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 17.174ms