home / cp40x

names

6 rows where case_id = 2412118

✎ 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
5187691 2412118 2412118 plaintiff Herford John tailor 589206 589206 Herford, John, of Buntyngford, tailor 0
5187692 2412118 2412118 defendant Sandon Thomas yeoman 589769 589769 Sandon, Thomas, of Sandon, yeoman 0
5187693 2412118 2412118 defendant Russell Thomas husbandman 771413 771413 Russell, Thomas, of Codrethe, husbandman 1
5187694 2412118 2412118 defendant Plumme Thomas husbandman 654513 654513 Plumme, Thomas, of Little Munden, husbandman 2
5187695 2412118 2412118 defendant Abbot Luke laborer 617472 617472 Abbot, Luke, of Aspeden, laborer 3
5187696 2412118 2412118 defendant Burnard Robert laborer 654513 654513 Burnard, Robert, of Little Munden, laborer 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 19.64ms