home / cp40x

names

8 rows where case_id = 1960541

✎ 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
3808516 1960541 1960541 plaintiff ap Gwyllym John sergeant at arms   ap Gwyllym, John, sergeant at arms 0
3808517 1960541 1960541 defendant Abrehale John gent 632752 632752 Abrehale, John, of Arma, gent 0
3808518 1960541 1960541 defendant Guillam John David miller 632754 632754 Guillam, John David, of Treselley, miller 1
3808519 1960541 1960541 defendant Rogers Richard laborer 632755 632755 Rogers, Richard, of Henllan, laborer 2
3808520 1960541 1960541 defendant Phelpottes Walter husbandman 632756 632756 Phelpottes, Walter, of Trebumfrey, husbandman 3
3808521 1960541 1960541 defendant Morgan Howell laborer 632757 632757 Morgan, Howell, of Tretyre, laborer 4
3808522 1960541 1960541 defendant Phelpottes John miller 632759 632759 Phelpottes, John, of Wethyrmylle, miller 5
3808523 1960541 1960541 defendant Guillam David laborer 632754 632754 Guillam, David, of Treselley, 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.339ms