home / cp40x

names

10 rows where case_id = 2201811

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4504022 2201811 2201811 plaintiff Pykeryng James knight   Pykeryng, James, knight, executors of 0
4504023 2201811 2201811 plaintiff (not given) John de prior of Lancastre 608035 608035 (Lancastre, John de, of Lancaster, prior of the brothers 1
4504024 2201811 2201811 plaintiff Pykeryng James de     Pykeryng, James de 2
4504025 2201811 2201811 plaintiff Jakson John chaplain   Jakson, John, chaplain 3
4504026 2201811 2201811 plaintiff Russel Thomas     Russel, Thomas 4
4504027 2201811 2201811 defendant Sauton Richard     Sauton, Richard 0
4504028 2201811 2201811 defendant Stabbler William     Stabbler, William 1
4504029 2201811 2201811 defendant Chaloner Thomas     Chaloner, Thomas 2
4504030 2201811 2201811 defendant Chapman Robert   755606 755606 Chapman, Robert, of Naburn 3
4504031 2201811 2201811 defendant W--- Robert     W---, Robert 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.21ms