home / cp40x

names

6 rows where case_id = 2392917

✎ 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
5122204 2392917 2392917 plaintiff (not given) Thomas abbot of Tychefeld Abbey   Tychefeld Abbey, Thomas, abbot of 0
5122205 2392917 2392917 defendant Ranstowe John husbandman 848928 848928 Ranstowe, John, of Wallesworth, husbandman 0
5122206 2392917 2392917 defendant Segar Thomas husbandman 762339 762339 Segar, Thomas, of Porchestre, husbandman 1
5122207 2392917 2392917 defendant atte Hethe Thomas yeoman 762339 762339 atte Hethe, Thomas, of Porchestre, yeoman 2
5122208 2392917 2392917 defendant Whytyng John husbandman 762339 762339 Whytyng, John, of Porchestre, husbandman 3
5122209 2392917 2392917 defendant Whytyng Richard husbandman 762339 762339 Whytyng, Richard, of Porchestre, 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 15.807ms