home / cp40x

names

7 rows where case_id = 1945899

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3762446 1945899 1945899 plaintiff Glanfyld John     Glanfyld, John 0
3762447 1945899 1945899 defendant Glanfyld William husbandman 586264 586264 Glanfyld, William, of North Lewe, husbandman 0
3762448 1945899 1945899 defendant Carre John husbandman 586264 586264 Carre, John, of North Lewe, husbandman 1
3762449 1945899 1945899 defendant Hoper John husbandman 604259 604259 Hoper, John, of Inwardlegh, husbandman 2
3762450 1945899 1945899 defendant Northam John husbandman 586264 586264 Northam, John, of North Lewe, husbandman 3
3762451 1945899 1945899 defendant Medlond Richard butcher 586264 586264 Medlond, Richard, of North Lewe, butcher 4
3762452 1945899 1945899 defendant Hokkeday Henry butcher 593171 593171 Hokkeday, Henry, of Milton, butcher 5

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.14ms