home / cp40x

names

6 rows where case_id = 2257445

✎ 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
4673867 2257445 2257445 plaintiff Denman Robert     Denman, Robert, on his own account 0
4673868 2257445 2257445 defendant Hungerford Henry   844583 844583 Hungerford, Henry, of Lambourn, Berks, vicar 0
4673869 2257445 2257445 defendant Horner Henry husbandman 781673 781673 Horner, Henry, of Thele, Berks, husbandman 1
4673870 2257445 2257445 defendant Eymmok John husbandman 657439 657439 Eymmok, John, of Wherwell, Hants, husbandman 2
4673871 2257445 2257445 defendant Bybury John woolman 781674 781674 Bybury, John, of Marlelburgh, Wilts, woolman 3
4673872 2257445 2257445 defendant atte Court John husbandman 781675 781675 atte Court, John, of Wherewell, Hants, 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 12.237ms