home / cp40x

names

5 rows where case_id = 2509424

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5514634 2509424 2509424 plaintiff Robhod Stephen     Robhod, Stephen 0
5514635 2509424 2509424 defendant Dryver Thomas husbandman 587464 587464 Dryver, Thomas, of Bakton, husbandman 0
5514636 2509424 2509424 defendant Teryngton Robert husbandman 591359 591359 Teryngton, Robert, of Superior Rekynghale, husbandman 1
5514637 2509424 2509424 defendant Fraunces George husbandman 663505 663505 Fraunces, George, of Barnam, husbandman 2
5514638 2509424 2509424 defendant Neweman John husbandman 891853 891853 Neweman, John, of Fersfeld, Norf, husbandman 3

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 15.167ms