home / cp40x

names

10 rows where case_id = 2351610

✎ 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
4982251 2351610 2351610 plaintiff Thwaytes Henry     Thwaytes, Henry 0
4982252 2351610 2351610 defendant Pek Robert husbandman 796289 796289 Pek, Robert, of Ilkelay, husbandman 0
4982253 2351610 2351610 defendant Galway Richard husbandman 796289 796289 Galway, Richard, of Ilkelay, husbandman 1
4982254 2351610 2351610 defendant Hunflete John husbandman 830326 830326 Hunflete, John, of Cottyngla, husbandman 2
4982255 2351610 2351610 defendant Ambeler John husbandman 586397 586397 Ambeler, John, of Morton, husbandman 3
4982256 2351610 2351610 defendant Wood John husbandman 586397 586397 Wood, John, of Morton, husbandman 4
4982257 2351610 2351610 defendant Wod Robert husbandman 830327 830327 Wod, Robert, of Mekilwate, husbandman 5
4982258 2351610 2351610 defendant Sugden James husbandman 588730 588730 Sugden, James, of Kyghley, husbandman 6
4982259 2351610 2351610 defendant Walker Christopher cordwainer 813167 813167 Walker, Christopher, of Presthorp, cordwainer 7
4982260 2351610 2351610 defendant Butteler Robert yeoman 830328 830328 Butteler, Robert, of Redillesden, yeoman 8

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.181ms