home / cp40x

names

6 rows where case_id = 2325748

✎ 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
4897098 2325748 2325748 plaintiff Macworth John dean of Lincoln   Macworth, John, dean of Lincoln 0
4897099 2325748 2325748 defendant Scorour William yeoman 676042 676042 Scorour, William, of Wirkesworth, yeoman 0
4897100 2325748 2325748 defendant del Fordde John husbandman 587237 587237 del Fordde, John, of Colbroke, husbandman 1
4897101 2325748 2325748 defendant Shawe John yeoman 818808 818808 Shawe, John, of Allerwaslee, yeoman 2
4897102 2325748 2325748 defendant Barker William barker 676042 676042 Barker, William, of Wirkesworth, barker 3
4897103 2325748 2325748 defendant Hall Nicholas husbandman 818809 818809 Hall, Nicholas, of Quorendon, 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 11.203ms