home / cp40x

names

6 rows where case_id = 2552474

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5627202 2552474 2552474 plaintiff Nores John     Nores, John 0
5627203 2552474 2552474 defendant Cook William chaplain 771570 771570 Cook, William, of Groundesburgh, chaplain 0
5627204 2552474 2552474 defendant Pilly Thomas yeoman 585936 585936 Pilly, Thomas, of Norwich, yeoman 1
5627205 2552474 2552474 defendant Smyth Bratrice widow of Thomas Smyth 601078 601078 Smyth, Bratrice, of Framesden, widow of Thomas Smyth 2
5627206 2552474 2552474 defendant (not given) Robert son of Robert Daunce, ploughman   Robert son of Robert Daunce, of Groundesburgh, ploughman 3
5627207 2552474 2552474 defendant Prestmere John cordwainer 589761 589761 Prestmere, John, of Wodebrygge, cordwainer 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 14.366ms