home / cp40x

names

6 rows where case_id = 1944795

✎ 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
3758964 1944795 1944795 plaintiff Catelyn Isabel widow   Catelyn, Isabel, widow 0
3758965 1944795 1944795 defendant Gunnour Richard gent 599561 599561 Gunnour, Richard, of Bekham, gent 0
3758966 1944795 1944795 defendant Lame or Laine Robert mariner 592185 592185 Lame or Laine, Robert, of Sheryngham, mariner 1
3758967 1944795 1944795 defendant Baly Thomas husbandman 624571 624571 Baly, Thomas, of Herpyngham, husbandman 2
3758968 1944795 1944795 defendant Flaxman Robert butcher 610003 610003 Flaxman, Robert, of Gressham, butcher 3
3758969 1944795 1944795 defendant Beston William husbandman 610003 610003 Beston, William, of Gressham, 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 13.597ms