home / cp40x

names

8 rows where case_id = 2509775

✎ 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
5515757 2509775 2509775 plaintiff Snoryng John fishmonger 585869 585869 Snoryng, John, of London, fishmonger 0
5515758 2509775 2509775 plaintiff Maryner William salter 585869 585869 Maryner, William, of London, salter 1
5515759 2509775 2509775 plaintiff Goderyche William grocer 585869 585869 Goderyche, William, of London, grocer 2
5515760 2509775 2509775 defendant Wylson Robert smith 596708 596708 Wylson, Robert, of Chepyng Barnet, Herts, smith 0
5515761 2509775 2509775 defendant Smyth John smith 895417 895417 Smyth, John, of Wellyngburne, Nhants, smith 1
5515762 2509775 2509775 defendant Atkyn Richard smith 895418 895418 Atkyn, Richard, of Chessamboys, Bucks, smith 2
5515763 2509775 2509775 defendant Twhayt William smith 607738 607738 Twhayt, William, of Sandon, Herts, smith 3
5515764 2509775 2509775 defendant Norreys William smith 586275 586275 Norreys, William, of Chepyng Barnet, smith 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 6.687ms