home / cp40x

names

6 rows where case_id = 2462053

✎ 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
5356334 2462053 2462053 plaintiff London William alderman 585936 585936 London, William, of Norwich, alderman 0
5356335 2462053 2462053 defendant Wattys John yeoman 587166 587166 Wattys, John, of Salle, yeoman 0
5356336 2462053 2462053 defendant Taylour Thomas husbandman 586102 586102 Taylour, Thomas, of Hengham, husbandman 1
5356337 2462053 2462053 defendant Bakon Thomas yeoman 601348 601348 Bakon, Thomas, of Castelacre, yeoman 2
5356338 2462053 2462053 defendant Fenne or Foune Robert husbandman 586102 586102 Fenne or Foune, Robert, of Hengham, husbandman 3
5356339 2462053 2462053 defendant Blome John husbandman 587331 587331 Blome, John, of Causton, 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 14.858ms