home / cp40x

names

8 rows where case_id = 2192426

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4473724 2192426 2192426 plaintiff Dandyson Hugh   607914 607914 Dandyson, Hugh, of Wrangle 0
4473725 2192426 2192426 plaintiff Dandyson Agnes     Agnes, his wife 1
4473726 2192426 2192426 defendant Grave John   589796 589796 Grave, John, of Leek, son of John Grave, senior 0
4473727 2192426 2192426 defendant Grave Walter brother of John   Grave, Walter, brother of John 1
4473728 2192426 2192426 defendant John brother of Walter, junior     John, brother of Walter, junior 2
4473729 2192426 2192426 defendant Clerk John   586286 586286 Clerk, John, of Boston, son of Walter 3
4473730 2192426 2192426 defendant Hughson Katherine   589796 589796 Hughson, Katherine, of Leek, formerly wife of John Hughson 4
4473731 2192426 2192426 defendant Randolf Simon   586846 586846 Randolf, Simon, of Lincoln, son of John Randolf 5

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