home / cp40x

names

7 rows where case_id = 2347301

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4967754 2347301 2347301 plaintiff FitzHerry Thomas     FitzHerry, Thomas 0
4967755 2347301 2347301 defendant Beden William chaplain 588373 588373 Beden, William, of Rosse, chaplain 0
4967756 2347301 2347301 defendant Grey John gent 828524 828524 Grey, John, of Wilton, March of Wales, gent 1
4967757 2347301 2347301 defendant Smyth David husbandman 594989 594989 Smyth, David, of Tyberton, husbandman 2
4967758 2347301 2347301 defendant Smyth John yeoman 594989 594989 Smyth, John, of Tyberton, yeoman 3
4967759 2347301 2347301 defendant Benet John husbandman 590463 590463 Benet, John, of Eton Tregoys, husbandman 4
4967760 2347301 2347301 defendant ap Jankyn Ivan gent 828525 828525 ap Jankyn, Ivan, of Wirkebrok, gent 5

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