home / cp40x

names

6 rows where case_id = 1964513

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3821167 1964513 1964513 plaintiff Rolle George gent 585869 585869 Rolle, George, of London, gent 0
3821168 1964513 1964513 defendant Wylson Ralph stockfishmonger 621764 621764 Wylson, Ralph, of London St Magnus, stockfishmonger 0
3821169 1964513 1964513 defendant Marshall William girdler 585869 585869 Marshall, William, of London, girdler 1
3821170 1964513 1964513 defendant Praty Thomas yeoman 634756 634756 Praty, Thomas, of Chetynlgey, Sussex, yeoman 2
3821171 1964513 1964513 defendant Payn Robert yeoman 634757 634757 Payn, Robert, of Severnstoke, Worcs, yeoman 3
3821172 1964513 1964513 defendant Burnby Thomas esq 612205 612205 Burnby, Thomas, of Watford, Nhants, esq 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.022ms