home / cp40x

names

6 rows where case_id = 2416026

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5200885 2416026 2416026 plaintiff Yonge Roger     Yonge, Roger 0
5200886 2416026 2416026 defendant Bosse John clerk 858867 858867 Bosse, John, of East Russheton, Norf, clerk 0
5200887 2416026 2416026 defendant Harde William yeoman 858868 858868 Harde, William, of Suthwyke, Norf, yeoman 1
5200888 2416026 2416026 defendant Madyngley John clerk 783255 783255 Madyngley, John, of Great Gyddyng, Hunts, clerk 2
5200889 2416026 2416026 defendant Whightehede Robert husbandman 782053 782053 Whightehede, Robert, of Eston by Staunford, Nhants, husbandman 3
5200890 2416026 2416026 defendant Taillour Thomas tailor 602306 602306 Taillour, Thomas, of Peterburgh, Nhants, 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 21.737ms