home / cp40x

names

6 rows where case_id = 1939105

✎ 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
3741194 1939105 1939105 plaintiff Smyth John merchant and orchel maker 586134 586134 Smyth, John, of Ipswich, merchant and orchel maker 0
3741195 1939105 1939105 defendant Baker John   599042 599042 Baker, John, of Theberton, court holder 0
3741196 1939105 1939105 defendant Smyth William clothmaker 587636 587636 Smyth, William, of Hadleigh, clothmaker 1
3741197 1939105 1939105 defendant Neve Thomas dyer 601466 601466 Neve, Thomas, of Nedham Markett, dyer 2
3741198 1939105 1939105 defendant Woodcok Hugh clerk 621409 621409 Woodcok, Hugh, of Tuddenham, clerk 3
3741199 1939105 1939105 defendant Burndysshe Thomas dyer 585937 585937 Burndysshe, 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 11.404ms