home / cp40x

names

8 rows where case_id = 1937901

✎ 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
3737292 1937901 1937901 plaintiff Lely Edmund (legal representative) 620738 620738 Lely, Edmund, of Shottowe, executors of 0
3737293 1937901 1937901 plaintiff Leny or Levy William   589569 589569 (Leny or Levy, William, of Westwyk 1
3737294 1937901 1937901 plaintiff lely Thomas   613194 613194 lely, Thomas, of Skotthowe 2
3737295 1937901 1937901 defendant Cok John   589569 589569 Cok, John, of Westwyk, worsted weaver 0
3737296 1937901 1937901 defendant Colt Robert   603717 603717 Colt, Robert, of Wursted, worsted weaver 1
3737297 1937901 1937901 defendant Cok John, junior husbandman 603717 603717 Cok, John, junior, of Wursted, husbandman 2
3737298 1937901 1937901 defendant Becker John butcher 698653 698653 Becker, John, of Hoveton, butcher 3
3737299 1937901 1937901 defendant Fulke Edmund husbandman 614807 614807 Fulke, Edmund, of Skottowe, 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 19.003ms