home / cp40x

names

5 rows where place_id = 777678

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4420660 2171359 2171359 defendant Skelton John de   777678 777678 Skelton, John de, of Kirkeland, parson 0
4648145 2245518 2245518 defendant Alanson Stephen   777678 777678 Alanson, Stephen, of Kirkeland 0
4850797 2311698 2311698 defendant Smyth Robert yeoman 777678 777678 Smyth, Robert, of Kirkeland, yeoman 1
5005679 2358557 2358557 defendant Stable John husbandman 777678 777678 Stable, John, of Kirkeland, husbandman 1
5632167 2554084 2554084 plaintiff Burgh Hugh chaplain 777678 777678 (Burgh, Hugh, of Kirkeland, chaplain 1

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