home / cp40x

names

6 rows where case_id = 2033388

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4024312 2033388 2033388 plaintiff Bigilston Philip attorney of the bench   Bigilston, Philip, attorney of the bench 0
4024313 2033388 2033388 defendant Dolbery John victualer 591749 591749 Dolbery, John, of South Molton, victualer 0
4024314 2033388 2033388 defendant Wescote John   642629 642629 Wescote, John, of Shobbroke husbandman 1
4024315 2033388 2033388 defendant Waye alias Hill Elias tailor 593759 593759 Waye alias Hill, Elias, of Willond, tailor 2
4024316 2033388 2033388 defendant Davy John smith 673002 673002 Davy, John, of Witherudge, smith 3
4024317 2033388 2033388 defendant Risedon Walter weaver 596758 596758 Risedon, Walter, of Paynton, weaver 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 13.054ms