home / cp40x

names

6 rows where case_id = 2125655

✎ 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
4287702 2125655 2125655 plaintiff Hollowaye William     Hollowaye, William 0
4287703 2125655 2125655 defendant Webbe John yeoman 585869 585869 Webbe, John, of London, or of Swallowfild, Wilts, yeoman 0
4287704 2125655 2125655 defendant Walker Thomas yeoman 730301 730301 Walker, Thomas, of Swallowfeild, yeoman 1
4287705 2125655 2125655 defendant Haselwood John carpenter 585869 585869 Haselwood, John, of London, carpenter 2
4287706 2125655 2125655 defendant Wingfeild William (legal representative) 585869 585869 Wingfeild, William, of London, carpenter, executor of 3
4287707 2125655 2125655 defendant Wynfeild Robert yeoman 585869 585869 Wynfeild, Robert, of London, yeoman 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 15.01ms