home / cp40x

names

6 rows where case_id = 2419965

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5214471 2419965 2419965 plaintiff Bury John draper 585869 585869 Bury, John, of London, draper 0
5214472 2419965 2419965 defendant Heth Thomas husbandman 586034 586034 Heth, Thomas, of St Albans, Herts, husbandman 0
5214473 2419965 2419965 defendant Essex William ostler 588148 588148 Essex, William, of Watford, Herts, ostler 1
5214474 2419965 2419965 defendant Carru or Carrn Nicholas gent 612566 612566 Carru or Carrn, Nicholas, of Bedyngton, Surrey, gent 2
5214475 2419965 2419965 defendant Hawekyn Thomas   585868 585868 Hawekyn, Thomas, of Chepsted, Kent, "repyer" 3
5214476 2419965 2419965 defendant Goolde John   591967 591967 Goolde, John, of Hithe, Kent, "repyer" 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.496ms