home / cp40x

names

6 rows where case_id = 2380322

✎ 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
5079349 2380322 2380322 plaintiff Calowe William esq   Calowe, William, esq 0
5079350 2380322 2380322 defendant May John husbandman 601114 601114 May, John, of Kyrton in Holand, husbandman 0
5079351 2380322 2380322 defendant Miller Thomas husbandman 601114 601114 Miller, Thomas, of Kyrton in Holand, husbandman 1
5079352 2380322 2380322 defendant Cloyer John yeoman 587151 587151 Cloyer, John, of Flete, yeoman 2
5079353 2380322 2380322 defendant Male Roger hosteler 843904 843904 Male, Roger, of Fossedy, hosteler 3
5079354 2380322 2380322 defendant Danyell William carter 595660 595660 Danyell, William, of Walpole, Norf, carter 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.475ms