home / cp40x

names

8 rows where case_id = 2338794

✎ 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
4939669 2338794 2338794 plaintiff Crescy Hugh esq   Crescy, Hugh, esq 0
4939670 2338794 2338794 defendant Skynner Richard laborer 593657 593657 Skynner, Richard, of Blithe, laborer 0
4939671 2338794 2338794 defendant Deynell Richard thatcher 802477 802477 Deynell, Richard, of Sterop, thatcher 1
4939672 2338794 2338794 defendant Taillour John draper 593657 593657 together with Taillour, John, of Blithe, draper 2
4939673 2338794 2338794 defendant Kerver William carver 593657 593657 Kerver, William, of Blithe, carver 3
4939674 2338794 2338794 defendant Leton John husbandman 802477 802477 Leton, John, of Sterop, husbandman 4
4939675 2338794 2338794 defendant Leton Robert of Sterop, laborer   Leton, Robert, ,of Sterop, laborer 5
4939676 2338794 2338794 defendant Leton Thomas laborer 824968 824968 Leton, Thomas, of Karworth, laborer 6

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