home / cp40x

names

9 rows where case_id = 1991111

✎ 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
3902626 1991111 1991111 plaintiff Everard Ralph esq   Everard, Ralph, esq 0
3902627 1991111 1991111 defendant Launce John yeoman 648649 648649 Launce, John, of Hawlesworth, yeoman 0
3902628 1991111 1991111 defendant Smyth Nicholas mercer 648649 648649 Smyth, Nicholas, of Hawlesworth, mercer 1
3902629 1991111 1991111 defendant Saunderson Peter yeoman 648649 648649 Saunderson, Peter, of Hawlesworth, yeoman 2
3902630 1991111 1991111 defendant Bonett Thomas husbandman 648649 648649 Bonett, Thomas, of Hawlesworth, husbandman 3
3902631 1991111 1991111 defendant Burward Roger husbandman 648650 648650 Burward, Roger, of Chadestone, husbandman 4
3902632 1991111 1991111 defendant Gybon William husbandman 596502 596502 Gybon, William, of Wenhaston, husbandman 5
3902633 1991111 1991111 defendant Shortyng Robert husbandman 607970 607970 Shortyng, Robert, of Chedeston, husbandman 6
3902634 1991111 1991111 defendant Warne Thomas laborer 596502 596502 Warne, Thomas, of Wenhaston, laborer 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 11.529ms