home / cp40x

names

5 rows where case_id = 2300814

✎ 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
4815037 2300814 2300814 plaintiff Knyght Richard     Knyght, Richard, on his own account 0
4815038 2300814 2300814 defendant Spofford Robert butcher 590487 590487 Spofford, Robert, of Hemmyngburgh, butcher 0
4815039 2300814 2300814 defendant Middelton Robert husbandman 741111 741111 Middelton, Robert, of Brakenholme, husbandman 1
4815040 2300814 2300814 defendant Welles John   590488 590488 Welles, John, of Northcave, wright 2
4815041 2300814 2300814 defendant Daweson Robert husbandman 590488 590488 Daweson, Robert, of Northcave, husbandman 3

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.891ms