home / cp40x

names

7 rows where case_id = 2220462

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4564506 2220462 2220462 plaintiff Sayvill John knight   Sayvill, John, knight 0
4564507 2220462 2220462 defendant Flaxton William de chaplain   Flaxton, William de, chaplain 0
4564508 2220462 2220462 defendant Brereton Henry de   770082 770082 Brereton, Henry de, of Garthill 1
4564509 2220462 2220462 defendant Plattyng Robert   609338 609338 Plattyng, Robert, of Hamerton 2
4564510 2220462 2220462 defendant Bocard William   770083 770083 Bocard, William, of Beleby 3
4564511 2220462 2220462 defendant Barbour William   600457 600457 Barbour, William, of Malton 4
4564512 2220462 2220462 defendant Williamson John     Williamson, John 5

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