home / cp40x

names

6 rows where case_id = 2537640

✎ 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
5608759 2537640 2537640 plaintiff Fouke or Foule Nicholas     Fouke or Foule, Nicholas 0
5608760 2537640 2537640 defendant Geld--- Richard shoemaker 802139 802139 Geld---, Richard, of Pepyngbury, shoemaker 0
5608761 2537640 2537640 defendant Alkn Thomas   593895 593895 Alkn, Thomas, of Pepyngbery 1
5608762 2537640 2537640 defendant (illegible) Thomas husbandman 636100 636100 ---, Thomas, of Sussex, husbandman 2
5608763 2537640 2537640 defendant Wem--er Robert   603903 603903 Wem--er, Robert, of Cranbrook 3
5608764 2537640 2537640 defendant Ford Thomas tailor 586569 586569 Ford, Thomas, of Merden, tailor 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 7.766ms