home / cp40x

names

6 rows where case_id = 2389234

✎ 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
5109582 2389234 2389234 plaintiff Gest John     Gest, John 0
5109583 2389234 2389234 defendant Everard Richard yeoman 615370 615370 Everard, Richard, of Shottesbroke, yeoman 0
5109584 2389234 2389234 defendant Chapman Richard husbandman 597053 597053 Chapman, Richard, of Chepyng Faryndon, husbandman 1
5109585 2389234 2389234 defendant Colles John, junior husbandman 622321 622321 Colles, John, junior, of Water Eton, husbandman 2
5109586 2389234 2389234 defendant Colles John, senior husbandman 622321 622321 Colles, John, senior, of Water Eton, husbandman 3
5109587 2389234 2389234 defendant Huet John yeoman 622321 622321 Huet, John, of Water Eton, yeoman 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 13.076ms