home / cp40x

names

6 rows where case_id = 2282237

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4755924 2282237 2282237 plaintiff Barton Ralph skinner 585869 585869 Barton, Ralph, of London, skinner 0
4755925 2282237 2282237 defendant Mullesworth William gent 794717 794717 Mullesworth, William, of Puttok Herdewyk, Hunts, gent 0
4755926 2282237 2282237 defendant Kynerton William skinner 594777 594777 Kynerton, William, of Lynne, Norf, skinner 1
4755927 2282237 2282237 defendant Mitford Thomas gent 603006 603006 Mitford, Thomas, of Gaynesburgh, Lincs, gent 2
4755928 2282237 2282237 defendant Wodestok Henry clerk, of Thetilthorp, Lincs, parson   Wodestok, Henry, clerk, of Thetilthorp, Lincs, parson 3
4755929 2282237 2282237 defendant Braunche William jun, of Wygnale, Norfolk   Braunche, William, jun, of Wygnale, Norfolk 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 17.799ms