home / cp40x

names

6 rows where case_id = 2035817

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4031164 2035817 2035817 plaintiff Farrour Thomas, junior draper 585936 585936 Farrour, Thomas, junior, of Norwich, draper 0
4031165 2035817 2035817 defendant Orford William yeoman 678398 678398 Orford, William, of Cratfilde, Suff, yeoman 0
4031166 2035817 2035817 defendant More Robert husbandman 671385 671385 More, Robert, of Hackford, husbandman 1
4031167 2035817 2035817 defendant Cryspe Thomas gent 627873 627873 Cryspe, Thomas, of Debnam, Suff, gent 2
4031168 2035817 2035817 defendant Leverton Cuthbert gent 586819 586819 Leverton, Cuthbert, of Worsted, gent 3
4031169 2035817 2035817 defendant Clement John grocer 662694 662694 Clement, John, of Plomsted, grocer 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.4ms