home / cp40x

names

6 rows where case_id = 2447835

✎ 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
5309342 2447835 2447835 plaintiff Stevenson William     Stevenson, William 0
5309343 2447835 2447835 defendant Joly Simon husbandman 591955 591955 Joly, Simon, of Drynkeston, husbandman 0
5309344 2447835 2447835 defendant Hog Alice widow 590420 590420 Hog, Alice, of Rougham, widow 1
5309345 2447835 2447835 defendant Goos Thomas husbandman 588071 588071 Goos, Thomas, of Multon, husbandman 2
5309346 2447835 2447835 defendant Boffeld William cardmaker 604018 604018 Boffeld, William, of Colchester, Essex, cardmaker 3
5309347 2447835 2447835 defendant Boyle William butcher 591955 591955 Boyle, William, of Drynkeston, butcher 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 14.981ms