home / cp40x

names

7 rows where case_id = 2281417

✎ 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
4753316 2281417 2281417 plaintiff Wakeryng John   603225 603225 Wakeryng, John, of Norwich, bishop 0
4753317 2281417 2281417 plaintiff Doket Richard     Doket, Richard 1
4753318 2281417 2281417 defendant Asshman Thomas esq 615601 615601 Asshman, Thomas, of Gorleston, esq 0
4753319 2281417 2281417 defendant Flynt Nicholas   796922 796922 Flynt, Nicholas, of Castle Risyng, parson 1
4753320 2281417 2281417 defendant Elsewyk John   796922 796922 Elsewyk, John, of Castle Risyng, parson 2
4753321 2281417 2281417 defendant Skekt John   796923 796923 Skekt, John, of Great Masmsyngham, parson 3
4753322 2281417 2281417 defendant Borard Robert husbandman 621570 621570 Borard, Robert, of Dechyngham, 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.453ms