home / cp40x

names

6 rows where case_id = 1917028

✎ 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
3671384 1917028 1917028 plaintiff Clement Griffin     Clement, Griffin 0
3671385 1917028 1917028 defendant ap Howell Thomas yeoman 607904 607904 ap Howell, Thomas, of Ingehope, March of Wales, yeoman 0
3671386 1917028 1917028 defendant Bullock Nicholas butcher 607905 607905 Bullock, Nicholas, of Styfford, butcher 1
3671387 1917028 1917028 defendant Jonys David husbandman 586208 586208 Jonys, David, of Hereford, husbandman 2
3671388 1917028 1917028 defendant Chalnor Lewis weaver 586208 586208 Chalnor, Lewis, of Hereford, weaver 3
3671389 1917028 1917028 defendant Sympkyn David yeoman 607906 607906 Sympkyn, David, of Haye, March of Wales, yeoman 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 14.181ms