home / cp40x

names

5 rows where case_id = 1864621

✎ 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
3590342 1864621 1864621 plaintiff Conyngesby Humphrey     Conyngesby, Humphrey 0
3590343 1864621 1864621 defendant Wright Henry yeoman 587053 587053 Wright, Henry, of Sutton, Lincs, yeoman 0
3590344 1864621 1864621 defendant Fouler Johnm yeoman 587054 587054 Fouler, Johnm, of Parva Stepyng, Lincs, yeoman 1
3590345 1864621 1864621 defendant Sawegryst Simon husbandman 587055 587055 Sawegryst, Simon, of Tetney, Lincs, husbandman 2
3590346 1864621 1864621 defendant Bewyke Thomas shoemaker 587056 587056 Bewyke, Thomas, of Parva Stepyng, shoemaker 3

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