home / cp40x

names

6 rows where case_id = 2319028

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4874687 2319028 2319028 plaintiff (not given) John abbot of Revesby Abbey   Revesby Abbey, John, abbot of 0
4874688 2319028 2319028 defendant Lokke Robert husbandman 815849 815849 Lokke, Robert, of Kyrkby juxta Bolyngbroke, husbandman 0
4874689 2319028 2319028 defendant Barret Thomas husbandman 815849 815849 Barret, Thomas, of Kyrkby juxta Bolyngbroke, husbandman 1
4874690 2319028 2319028 defendant Barogh John husbandman 815849 815849 Barogh, John, of Kyrkby juxta Bolyngbroke, husbandman 2
4874691 2319028 2319028 defendant Harry Robert husbandman 598487 598487 Harry, Robert, of Marum, husbandman 3
4874692 2319028 2319028 defendant Wyche Robert yeoman 815850 815850 Wyche, Robert, of Halton juxta Spylesby, 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 11.049ms