home / cp40x

names

6 rows where case_id = 1948820

✎ 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
3771607 1948820 1948820 plaintiff Tebold John     Tebold, John 0
3771608 1948820 1948820 defendant Davy William husbandman and organ player 586893 586893 Davy, William, of Toft Monks, Norf, husbandman and organ player 0
3771609 1948820 1948820 defendant Ulstoft John yeoman 614408 614408 Ulstoft, John, of Ravenyngham, Norf, yeoman 1
3771610 1948820 1948820 defendant Davy William carpenter 614930 614930 Davy, William, of Toft Minks, carpenter 2
3771611 1948820 1948820 defendant Bungey John, junior husbandman 599070 599070 Bungey, John, junior, of Ilketyshale St Andrew, husbandman 3
3771612 1948820 1948820 defendant Antell John carpenter 599070 599070 Antell, John, of Ilketyshale St Andrew, carpenter 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.894ms