home / cp40x

names

6 rows where case_id = 1980367

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3870478 1980367 1980367 plaintiff Wyllyngton William esq, merchant of the staple   Wyllyngton, William, esq, merchant of the staple 0
3870479 1980367 1980367 defendant Emyns James husbandman 592497 592497 Emyns, James, of Marston, husbandman 0
3870480 1980367 1980367 defendant Emyns Richard husbandman 642841 642841 Emyns, Richard, of Wymbolston, husbandman 1
3870481 1980367 1980367 defendant Achamber William yeoman 636762 636762 Achamber, William, of Stretford on Aven, yeoman 2
3870482 1980367 1980367 defendant Aphyppys John yeoman 636762 636762 Aphyppys, John, of Stretford on Aven, yeoman 3
3870483 1980367 1980367 defendant Buknall William husbandman 642842 642842 Buknall, William, of Sufford, Devon, 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 17.976ms