home / cp40x

names

6 rows where case_id = 1939101

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3741173 1939101 1939101 plaintiff Smyth John merchant and orchal maker 586134 586134 Smyth, John, of Ipswich, merchant and orchal maker 0
3741174 1939101 1939101 defendant Baker John   621400 621400 Baker, John, of Thebdon, court holder 0
3741175 1939101 1939101 defendant Smyth William clothmaker 621401 621401 Smyth, William, of Hadeleigh, clothmaker 1
3741176 1939101 1939101 defendant Neve Thomas dyer 601466 601466 Neve, Thomas, of Nedham Markett, dyer 2
3741177 1939101 1939101 defendant Woodcok Hugh clerk 621402 621402 Woodcok, Hugh, of Tudenham, clerk 3
3741178 1939101 1939101 defendant Brundisshe Thomas dyer 585937 585937 Brundisshe, Thomas, of Bylston, dyer 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 13.969ms