home / cp40x

names

7 rows where case_id = 2516521

✎ 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
5538487 2516521 2516521 plaintiff Enys Nicholas     Enys, Nicholas 0
5538488 2516521 2516521 defendant Lightfote John husbandman 598619 598619 Lightfote, John, of St Nyot, husbandman 0
5538489 2516521 2516521 defendant Laa Thomas husbandman 643776 643776 Laa, Thomas, of Tresawell, husbandman 1
5538490 2516521 2516521 defendant Raulyn John husbandman 897728 897728 Raulyn, John, of Olde Parke juxta Liskerd, husbandman 2
5538491 2516521 2516521 defendant Barbill William clerk 897729 897729 Barbill, William, of Lankenhorne, clerk 3
5538492 2516521 2516521 defendant Nyell John (legal representative)   Nyell, John, executors of 4
5538493 2516521 2516521 defendant Mongewill William husbandman 621905 621905 (Mongewill, William, of Liskerd, 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 19.2ms