home / cp40x

names

6 rows where case_id = 2516067

✎ 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
5537032 2516067 2516067 plaintiff Coke Robert     Coke, Robert 0
5537033 2516067 2516067 defendant Mayhewe William butcher 897573 897573 Mayhewe, William, of Hyglyngton, Cams, butcher 0
5537034 2516067 2516067 defendant Fraunces John husbandman 897574 897574 Fraunces, John, of Hyglyngton, husbandman 1
5537035 2516067 2516067 defendant Hatley Richard smith 675042 675042 Hatley, Richard, of Heselyngfeld, Cams, smith 2
5537036 2516067 2516067 defendant Boterell John smith 587463 587463 Boterell, John, of Stapleford, Cams, smith 3
5537037 2516067 2516067 defendant Appulton Robert tailor 897574 897574 Appulton, Robert, of Hyglyngton, 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 14.895ms