home / cp40x

names

6 rows where case_id = 2303698

✎ 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
4824451 2303698 2303698 plaintiff Taverner William     Taverner, William, on his own account 0
4824452 2303698 2303698 defendant Hurdecombe John yeoman 590066 590066 Hurdecombe, John, of Bryggewater, yeoman 0
4824453 2303698 2303698 defendant Jobard John husbandman 590066 590066 Jobard, John, of Bryggewater, husbandman 1
4824454 2303698 2303698 defendant Glover Robert glover 590066 590066 Glover, Robert, of Bryggewater, glover 2
4824455 2303698 2303698 defendant Neel Robert husbandman 808164 808164 Neel, Robert, of Hampme abbis, husbandman 3
4824456 2303698 2303698 defendant Parys John husbandman 808164 808164 Parys, John, of Hampme abbis, 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 16.359ms