home / cp40x

names

7 rows where case_id = 2452702

✎ 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
5325477 2452702 2452702 plaintiff Seynt George William (legal representative) 613133 613133 Seynt George, William, of Est Hatley, knight, executors of 0
5325478 2452702 2452702 plaintiff Wentworth William     (Wentworth, William 1
5325479 2452702 2452702 defendant Smythe John husbandman 873599 873599 Smythe, John, of Eesthorp, Gamelyngey, husbandman 0
5325480 2452702 2452702 defendant Everesden John husbandman 594117 594117 Everesden, John, of Tadlowe, husbandman 1
5325481 2452702 2452702 defendant Elwyn Thomas butcher 597617 597617 Elwyn, Thomas, of Gamelyngey, butcher 2
5325482 2452702 2452702 defendant Topshawe Thomas husbandman 818826 818826 Topshawe, Thomas, of Westhorp, Gamelyngey, husbandman 3
5325483 2452702 2452702 defendant Warde John husbandman 589505 589505 Warde, John, of Kyngeston, husbandman 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 15.824ms