home / cp40x

names

6 rows where case_id = 2528928

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5580321 2528928 2528928 plaintiff Byford William     Byford, William 0
5580322 2528928 2528928 defendant Strynger John butcher 600198 600198 Strynger, John, of Mynchynhampton, butcher 0
5580323 2528928 2528928 defendant Byrstowe John butcher 590141 590141 Byrstowe, John, of Dursley, butcher 1
5580324 2528928 2528928 defendant Loker John husbandman 592878 592878 Loker, John, of Elmore, husbandman 2
5580325 2528928 2528928 defendant Smyth John yeoman 587690 587690 Smyth, John, of Frampton on Severne, yeoman 3
5580326 2528928 2528928 defendant Teysond William butcher 593634 593634 Teysond, William, of Berkeley, butcher 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.485ms