home / cp40x

names

6 rows where case_id = 1867081

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3598241 1867081 1867081 plaintiff Smyth John grocer 586180 586180 Smyth, John, of Bury St Edmunds, grocer 0
3598242 1867081 1867081 defendant Broun William yeoman or stainer 586180 586180 Broun, William, of Bury St Edmunds, yeoman or stainer 0
3598243 1867081 1867081 defendant Rynggold Richard fishmonger 586180 586180 Rynggold, Richard, of Bury St Edmunds, fishmonger 1
3598244 1867081 1867081 defendant Janyn Thomas butcher 589636 589636 Janyn, Thomas, of Soham, Cams, butcher 2
3598245 1867081 1867081 defendant Ravynsdale John laborer 586304 586304 Ravynsdale, John, of Fordham, Cams, laborer 3
3598246 1867081 1867081 defendant Lawe John plumber 586180 586180 Lawe, John, of Bury St Edmunds, plumber 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.499ms