home / cp40x

names

7 rows where case_id = 2385931

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5098293 2385931 2385931 plaintiff Vaux William esq   Vaux, William, esq 0
5098294 2385931 2385931 defendant Pye Robert parson of Dodyngton   Pye, Robert, parson of Dodyngton 0
5098295 2385931 2385931 defendant Harryson John yeoman 591268 591268 Harryson, John, of Clyfton, Notts, yeoman 1
5098296 2385931 2385931 defendant Lemyng Richard husbandman 846117 846117 Lemyng, Richard, of Laughterton, Notts, husbandman 2
5098297 2385931 2385931 defendant Fleccher Henry husbandman 846118 846118 Fleccher, Henry, of Besthorp, Notts, husbandman 3
5098298 2385931 2385931 defendant Lyntham Robert husbandman 846119 846119 Lyntham, Robert, of Neuton, Notts, husbandman 4
5098299 2385931 2385931 defendant West Thomas husbandman 682871 682871 West, Thomas, of Sutton, Notts, husbandman 5

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 17.694ms