home / cp40x

names

6 rows where case_id = 2446658

✎ 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
5305528 2446658 2446658 plaintiff Levermore Richard     Levermore, Richard 0
5305529 2446658 2446658 defendant Mille Nicholas yeoman 871148 871148 Mille, Nicholas, of Penryn Maner, Cornwall, yeoman 0
5305530 2446658 2446658 defendant Sparkeford John merchant 613865 613865 Sparkeford, John, of Seton, merchant 1
5305531 2446658 2446658 defendant Cosyn John merchant 613865 613865 Cosyn, John, of Seton, merchant 2
5305532 2446658 2446658 defendant atte Mersshe Andrew butcher 587118 587118 atte Mersshe, Andrew, of Exilond, butcher 3
5305533 2446658 2446658 defendant Peke Richard husbandman 624224 624224 Peke, Richard, of Aylesbeare, husbandman 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 12.362ms