home / cp40x

names

6 rows where case_id = 1977235

✎ 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
3861252 1977235 1977235 plaintiff Ferne John   597093 597093 Ferne, John, of Wyrkesworth 0
3861253 1977235 1977235 defendant Daken Robert yeoman 621781 621781 Daken, Robert, of Chapell in the Fryth, yeoman 0
3861254 1977235 1977235 defendant Daken Robert yeoman 595433 595433 Daken, Robert, of Chelmerdon, yeoman 1
3861255 1977235 1977235 defendant Helye Hugh weaver 591489 591489 Helye, Hugh, of Monyasshe, weaver 2
3861256 1977235 1977235 defendant Nedam John chaplain 591489 591489 Nedam, John, of Monyasshe, chaplain 3
3861257 1977235 1977235 defendant Hyll John shoemaker 597093 597093 Hyll, John, of Wyrkesworth, shoemaker 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.274ms