home / cp40x

names

5 rows where case_id = 1969677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3837628 1969677 1969677 plaintiff (not given) Robert abbot of St Albans Abbey   St Albans Abbey, Robert, abbot of 0
3837629 1969677 1969677 defendant Wharton Thomas   606782 606782 Wharton, Thomas, of Wharton Hawle, Cumber, knight 0
3837630 1969677 1969677 defendant Carnaby Reginald esq 637638 637638 Carnaby, Reginald, of Anwyke, Northumb, esq 1
3837631 1969677 1969677 defendant Heron John gent 637639 637639 Heron, John, of Chipches, Northumb, gent 2
3837632 1969677 1969677 defendant Ogle Thomas yeoman 585869 585869 Ogle, Thomas, of London, yeoman 3

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