home / cp40x

names

7 rows where case_id = 2517236

✎ 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
5540745 2517236 2517236 plaintiff Honywode Robert clerk   Honywode, Robert, clerk 0
5540746 2517236 2517236 plaintiff Jullys John clerk   Jullys, John, clerk 1
5540747 2517236 2517236 defendant Philypps William tailor or draper 585936 585936 Philypps, William, of Norwich, tailor or draper 0
5540748 2517236 2517236 defendant Boty Richard husbandman 618364 618364 Boty, Richard, of Fornsett, husbandman 1
5540749 2517236 2517236 defendant Burgh Robert alderman 585936 585936 Burgh, Robert, of Norwich, notary, alderman 2
5540750 2517236 2517236 defendant Pertrych Richard grocer 585936 585936 Pertrych, Richard, of Norwich, grocer 3
5540751 2517236 2517236 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 18.7ms