home / cp40x

names

6 rows where case_id = 2343748

✎ 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
4955956 2343748 2343748 plaintiff Torell Thomas esq   Torell, Thomas, esq 0
4955957 2343748 2343748 defendant Brokeman John husbandman 590008 590008 Brokeman, John, of Rumford, husbandman 0
4955958 2343748 2343748 defendant Fayrehere William husbandman 601544 601544 Fayrehere, William, of Chelmysford, husbandman 1
4955959 2343748 2343748 defendant Athelom Geoffrey husbandman 616602 616602 Athelom, Geoffrey, of White Rothyng, husbandman 2
4955960 2343748 2343748 defendant Barbour Richard herder 827077 827077 Barbour, Richard, of Coruneham, herder 3
4955961 2343748 2343748 defendant Elkyn Thomas husbandman 816210 816210 Elkyn, Thomas, of Abbes Rothyng, 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.276ms