home / cp40x

names

7 rows where case_id = 2446093

✎ 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
5303668 2446093 2446093 plaintiff Halywell John esq   Halywell, John, esq 0
5303669 2446093 2446093 defendant Kyrton John gent 586790 586790 Kyrton, John, of Ugburgh, gent 0
5303670 2446093 2446093 defendant Cleve or Clene John husbandman 587162 587162 Cleve or Clene, John, of Ermyngton, husbandman 1
5303671 2446093 2446093 defendant Canterell John husbandman 870880 870880 together with Canterell, John, of Hertford, Devon, husbandman 2
5303672 2446093 2446093 defendant Canterell William husbandman 586172 586172 Canterell, William, of Hertford, husbandman 3
5303673 2446093 2446093 defendant Langeham Walter husbandman 586172 586172 Langeham, Walter, of Hertford, husbandman 4
5303674 2446093 2446093 defendant Marke John miller 586172 586172 Marke, John, of Hertford, miller 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 14.786ms