home / cp40x

names

6 rows where case_id = 1911439

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3653771 1911439 1911439 plaintiff Wynston Thomas     Wynston, Thomas 0
3653772 1911439 1911439 defendant Hopkyns Thomas husbandman 595633 595633 Hopkyns, Thomas, of Turnaston, husbandman 0
3653773 1911439 1911439 defendant Grene Richard tanner 594989 594989 Grene, Richard, of Tyberton, tanner 1
3653774 1911439 1911439 defendant Grene William husbandman 594989 594989 Grene, William, of Tyberton, husbandman 2
3653775 1911439 1911439 defendant ap Richard John David husbandman 588555 588555 ap Richard, John David, of Bradwardyn, husbandman 3
3653776 1911439 1911439 defendant ap John John ap Richard laborer 603186 603186 ap John, John ap Richard, of Wormebruge, 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 12.963ms