home / cp40x

names

7 rows where case_id = 2445659

✎ 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
5302311 2445659 2445659 plaintiff Etton John     Etton, John 0
5302312 2445659 2445659 defendant Harre William husbandman 870646 870646 Harre, William, of Westby, in the parish of Stepyng, husbandman 0
5302313 2445659 2445659 defendant Pynder Simon yeoman 870647 870647 Pynder, Simon, of Northolme, by F_, yeoman 1
5302314 2445659 2445659 defendant Cheveney John husbandman 838481 838481 Cheveney, John, of Frysby by Stepyng, husbandman 2
5302315 2445659 2445659 defendant Bresse Thomas (legal representative) 681116 681116 Bresse, Thomas, of Great Stepyng, executors of 3
5302316 2445659 2445659 defendant Bresse John husbandman 854880 854880 Bresse, John, of Frysby, by Stepyng, husbandman 4
5302317 2445659 2445659 defendant Taillour Richard husbandman 681116 681116 Taillour, Richard, of Great Stepyng, husbandman 5

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