home / cp40x

names

6 rows where case_id = 2381515

✎ 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
5083337 2381515 2381515 plaintiff Fallan William clerk   Fallan, William, clerk 0
5083338 2381515 2381515 defendant Maydenwell John merchant 836796 836796 Maydenwell, John, of Kyrton in Lyndesey, Lincs, merchant 0
5083339 2381515 2381515 defendant Hardby Simon esq 746302 746302 Hardby, Simon, of Thurlby, Lincs, esq 1
5083340 2381515 2381515 defendant Bernard John gent 592800 592800 Bernard, John, of Akenham, Suff, gent 2
5083341 2381515 2381515 defendant Chirche Simon yeoman 611232 611232 Chirche, Simon, of Parva Stonham, Suff, yeoman 3
5083342 2381515 2381515 defendant Morton William parson of Magna Shelford, Cams   Morton, William, parson of Magna Shelford, Cams 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.826ms