home / cp40x

names

8 rows where case_id = 1960540

✎ 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
3808508 1960540 1960540 plaintiff ap Gwillyn John sergant at arms   ap Gwillyn, John, sergant at arms 0
3808509 1960540 1960540 defendant Phelpottes John miller 632753 632753 Phelpottes, John, of Wethermylle, miller 0
3808510 1960540 1960540 defendant Elmer David laborer 632754 632754 Elmer, David, of Treselley, laborer 1
3808511 1960540 1960540 defendant Abrehale John gent 632752 632752 Abrehale, John, of Arma, gent 2
3808512 1960540 1960540 defendant Elmer John David miller 632754 632754 Elmer, John David, of Treselley, miller 3
3808513 1960540 1960540 defendant Rogers Richard laborer 632758 632758 Rogers, Richard, of Henllam, laborer 4
3808514 1960540 1960540 defendant Phelpottys Walter husbandman 632756 632756 Phelpottys, Walter, of Trebumfrey, husbandman 5
3808515 1960540 1960540 defendant Morgan Howel laborer 632757 632757 Morgan, Howel, of Tretyre, laborer 6

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.523ms