home / cp40x

names

6 rows where case_id = 2470318

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5383352 2470318 2470318 plaintiff (illegible) Thomas   585869 585869 _(?, Thomas, of London 0
5383353 2470318 2470318 defendant Kelyngham William yeoman 612068 612068 Kelyngham, William, of Honyng, Norf, yeoman 0
5383354 2470318 2470318 defendant Wattes Robert yeoman 589673 589673 Wattes, Robert, of Aylisham, Norf, yeoman 1
5383355 2470318 2470318 defendant Yerlowe Alan husbandman 593945 593945 Yerlowe, Alan, of Blyklyng, Norf, husbandman 2
5383356 2470318 2470318 defendant Long John husbandman 880975 880975 Long, John, of Mersham, Norf, husbandman 3
5383357 2470318 2470318 defendant Totley Henry husbandman 880976 880976 Totley, Henry, of Lylsham, Norf, 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 17.784ms