home / cp40x

names

7 rows where case_id = 2247036

✎ 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
4653522 2247036 2247036 plaintiff Belle John     Belle, John 0
4653523 2247036 2247036 defendant Holand William husbandman 597828 597828 Holand, William, of Glatton, husbandman 0
4653524 2247036 2247036 defendant Palfreyman William laborer 597828 597828 Palfreyman, William, of Glatton, laborer 1
4653525 2247036 2247036 defendant Stangrave William husbandman 778368 778368 Stangrave, William, of Sautre, hayward, Bere, Roger, of Sautre, husbandman 2
4653526 2247036 2247036 defendant atte Wal Richard husbandman 760128 760128 atte Wal, Richard, of Sautre, husbandman 3
4653527 2247036 2247036 defendant Bere John husbandman 760128 760128 Bere, John, of Sautre, husbandman 4
4653528 2247036 2247036 defendant Smyth John husbandman 760128 760128 Smyth, John, of Sautre, husbandman 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.806ms