home / cp40x

names

6 rows where case_id = 1977526

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3862151 1977526 1977526 plaintiff Greve Thomas     Greve, Thomas 0
3862152 1977526 1977526 defendant Robynson Thomas husbandman 622073 622073 Robynson, Thomas, of Barkyswell, husbandman 0
3862153 1977526 1977526 defendant Edmundys John husbandman 622073 622073 Edmundys, John, of Barkyswell, husbandman 1
3862154 1977526 1977526 defendant Sharman Thomas yeoman 599896 599896 Sharman, Thomas, of Colshill, yeoman 2
3862155 1977526 1977526 defendant Wyrall Robert husbandman 628467 628467 Wyrall, Robert, of Sowtham, husbandman 3
3862156 1977526 1977526 defendant Leke Edward gent 590681 590681 Leke, Edward, of Lychebarowe, Nhants, gent 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 14.158ms