home / cp40x

names

6 rows where case_id = 2030270

✎ 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
4015580 2030270 2030270 plaintiff Smythe Thomas yeoman 633434 633434 Smythe, Thomas, of Crokemarshe, yeoman 0
4015581 2030270 2030270 plaintiff Poker Thomas yeoman 674768 674768 Poker, Thomas, of Marchynton, yeoman 1
4015582 2030270 2030270 plaintiff Clerke Thomas yeoman 674769 674769 Clerke, Thomas, of Yernfelde, yeoman 2
4015583 2030270 2030270 defendant Mastergent Thomas merchant 590430 590430 Mastergent, Thomas, of Lichfeld, merchant 0
4015584 2030270 2030270 defendant Snepe Michael smith 590430 590430 Snepe, Michael, of Lichfeld, smith 1
4015585 2030270 2030270 defendant Okes Hugh cordwainer 590430 590430 Okes, Hugh, of Lichfeld, cordwainer 2

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.514ms