home / cp40x

names

7 rows where case_id = 2312245

✎ 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
4852628 2312245 2312245 plaintiff Welson William     Welson, William 0
4852629 2312245 2312245 defendant Cumfort Richard drover 781497 781497 Cumfort, Richard, of Wycle, drover 0
4852630 2312245 2312245 defendant Hemyngton Robert gent 812873 812873 Hemyngton, Robert, of Great Harewedon, gent 1
4852631 2312245 2312245 defendant Gote Thomas husbandman 812874 812874 Gote, Thomas, of Haverbargh, Leics, husbandman 2
4852632 2312245 2312245 defendant Everdon William yeoman 587531 587531 Everdon, William, of Asshewell, Herts, yeoman 3
4852633 2312245 2312245 defendant Pyrley William gent 754481 754481 Pyrley, William, of Great Ocle, gent 4
4852634 2312245 2312245 defendant Pounder William plumber 765951 765951 Pounder, William, of Wadenho, plumber 5

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