home / cp40x

names

6 rows where case_id = 2389904

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5112024 2389904 2389904 plaintiff Horn William     Horn, William 0
5112025 2389904 2389904 defendant Sutton Richard yeoman 847728 847728 Sutton, Richard, of Meheth, yeoman 0
5112026 2389904 2389904 defendant Pulley Thomas yeoman 847729 847729 Pulley, Thomas, of Maweton, yeoman 1
5112027 2389904 2389904 defendant Whiterat Henry chaplain 588081 588081 Whiterat, Henry, of Cambridge, chaplain 2
5112028 2389904 2389904 defendant Pylton Robert gent 610002 610002 Pylton, Robert, of Pylton, Nhants, gent 3
5112029 2389904 2389904 defendant Elys Edmund yeoman 772761 772761 Elys, Edmund, of Munketon, 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 14.27ms