home / cp40x

names

6 rows where case_id = 1988747

✎ 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
3895636 1988747 1988747 plaintiff Staveley Thomas     Staveley, Thomas 0
3895637 1988747 1988747 defendant Aldeburgh Ralph gent 589509 589509 Aldeburgh, Ralph, of Aldeburgh, gent 0
3895638 1988747 1988747 defendant Robynson Thomas husbandman 647344 647344 Robynson, Thomas, of Aldewarke, husbandman 1
3895639 1988747 1988747 defendant Wodward Alice widow 647345 647345 Wodward, Alice, of Tholthorp, widow 2
3895640 1988747 1988747 defendant Wilson John yeoman 610949 610949 Wilson, John, of Tollerton, yeoman 3
3895641 1988747 1988747 defendant Plaforth Margaret widow 647344 647344 Plaforth, Margaret, of Aldewarke, widow 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 18.923ms