home / cp40x

names

9 rows where case_id = 2403172

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5156924 2403172 2403172 plaintiff Notyngham William or Rex     Notyngham, William or Rex 0
5156925 2403172 2403172 defendant Ryndlyng John merchant 600449 600449 Ryndlyng, John, of Boston, Lincs, merchant 0
5156926 2403172 2403172 defendant Bate Athelard merchant 586286 586286 Bate, Athelard, of Boston, merchant 1
5156927 2403172 2403172 defendant Grantham Thomas merchant 586846 586846 Grantham, Thomas, of Lincoln, merchant 2
5156928 2403172 2403172 defendant Lacy William merchant 586846 586846 Lacy, William, of Lincoln, merchant 3
5156929 2403172 2403172 defendant Challey John merchant 768688 768688 Challey, John, of Cales, merchant 4
5156930 2403172 2403172 defendant Robertson Nicholas merchant 600449 600449 Robertson, Nicholas, of Boston, Lincs, merchant 5
5156931 2403172 2403172 defendant Stephenson Thomas merchant 586286 586286 Stephenson, Thomas, of Boston, merchant 6
5156932 2403172 2403172 defendant Sutton Robert merchant 586286 586286 Sutton, Robert, of Boston, merchant 7

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 16.13ms