home / cp40x

names

7 rows where case_id = 2393568

✎ 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
5124349 2393568 2393568 plaintiff Young William abbot of St James Abbey, Northampton   Young, William, abbot of St James Abbey, Northampton 0
5124350 2393568 2393568 plaintiff Wylloughby Richard esq   Wylloughby, Richard, esq 1
5124351 2393568 2393568 defendant Cockes John husbandman 834088 834088 Cockes, John, of Cogenho, husbandman 0
5124352 2393568 2393568 defendant Taylour John husbandman 834088 834088 Taylour, John, of Cogenho, husbandman 1
5124353 2393568 2393568 defendant Hebbes Edward husbandman 834088 834088 Hebbes, Edward, of Cogenho, husbandman 2
5124354 2393568 2393568 defendant Hertewell Robert husbandman 834088 834088 Hertewell, Robert, of Cogenho, husbandman 3
5124355 2393568 2393568 defendant Barwell John husbandman 834088 834088 Barwell, John, of Cogenho, 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 14.65ms