home / cp40x

names

8 rows where case_id = 2468973

✎ 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
5378849 2468973 2468973 plaintiff Waterton John knight   Waterton, John, knight 0
5378850 2468973 2468973 defendant Smyth Thomas laborer 852563 852563 Smyth, Thomas, of Walton by Sandall, laborer 0
5378851 2468973 2468973 defendant Beste John yeoman 588166 588166 Beste, John, of Crofton, yeoman 1
5378852 2468973 2468973 defendant Frere Alexander husbandman 588166 588166 Frere, Alexander, of Crofton, husbandman 2
5378853 2468973 2468973 defendant Smyth Thomas husbandman 588166 588166 Smyth, Thomas, of Crofton, husbandman 3
5378854 2468973 2468973 defendant Thurgurland Brain husbandman 880332 880332 Thurgurland, Brain, of Croften, husbandman 4
5378855 2468973 2468973 defendant Halle Thomas husbandman 620595 620595 Halle, Thomas, of Sharleston, husbandman 5
5378856 2468973 2468973 defendant Scoley William husbandman 880333 880333 Scoley, William, of Nedyrset, husbandman 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 15.277ms