home / cp40x

names

6 rows where case_id = 2471991

✎ 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
5389316 2471991 2471991 plaintiff Hudon William Alderman 585936 585936 Hudon, William, of Norwich, Alderman 0
5389317 2471991 2471991 defendant Sponer Robert smith 881846 881846 Sponer, Robert, of Sa-ne, smith 0
5389318 2471991 2471991 defendant Langyerde John husbandman 588486 588486 Langyerde, John, of Wynterton, husbandman 1
5389319 2471991 2471991 defendant Pompy Stephen mercer 818284 818284 Pompy, Stephen, of Thetforthe, mercer 2
5389320 2471991 2471991 defendant Coweper John husbandman 590844 590844 Coweper, John, of Lyng, husbandman 3
5389321 2471991 2471991 defendant Bryghtwelle William barber 585936 585936 Bryghtwelle, William, of Norwich, barber 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.595ms