home / cp40x

names

7 rows where case_id = 2512494

✎ 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
5525261 2512494 2512494 plaintiff Gryme William grocer 585869 585869 Gryme, William, of London, grocer 0
5525262 2512494 2512494 defendant Westowe Andrew smith 586058 586058 Westowe, Andrew, of Enfeld, Middx, smith 0
5525263 2512494 2512494 defendant Graunger Miles husbandman 640032 640032 Graunger, Miles, of Envyld, husbandman 1
5525264 2512494 2512494 defendant Hurton William maltman 586060 586060 Hurton, William, of Enfeld, maltman 2
5525265 2512494 2512494 defendant Wren John laborer 586528 586528 Wren, John, of Ware, Herts, laborer 3
5525266 2512494 2512494 defendant Masse William maltman 590127 590127 Masse, William, of Edelmeton, Middx, maltman 4
5525267 2512494 2512494 defendant Dardys or Dard Christopher mercer 585869 585869 Dardys or Dard, Christopher, of London, mercer 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 15.519ms