home / cp40x

names

6 rows where case_id = 1936639

✎ 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
3733265 1936639 1936639 plaintiff Drury Robert knight   Drury, Robert, knight 0
3733266 1936639 1936639 defendant Page William clothmaker 587882 587882 Page, William, of Lavenham, clothmaker 0
3733267 1936639 1936639 defendant Modia William yeoman 620025 620025 Modia, William, of Iknam, Middx, yeoman 1
3733268 1936639 1936639 defendant Hawtrie John yeoman 620026 620026 Hawtrie, John, of Ismansted Cheynys, Bucks, yeoman 2
3733269 1936639 1936639 defendant Cole Richard of Mildenhale tanner   Cole, Richard of Mildenhale, tanner 3
3733270 1936639 1936639 defendant Pope Christopher husbandman 620027 620027 Pope, Christopher, of Coley, Middx, husbandman 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 7.128ms