home / cp40x

names

6 rows where case_id = 2532879

✎ 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
5593278 2532879 2532879 plaintiff Wynston Thomas     Wynston, Thomas 0
5593279 2532879 2532879 defendant Tewe Thomas butcher 588555 588555 Tewe, Thomas, of Bradwardyn, butcher 0
5593280 2532879 2532879 defendant Hoper John husbandman 903806 903806 Hoper, John, of Morebrugge, husbandman 1
5593281 2532879 2532879 defendant Pembour Humphrey yeoman 600184 600184 Pembour, Humphrey, of Presthend, March of Wales, yeoman 2
5593282 2532879 2532879 defendant Ragon John yeoman 645789 645789 Ragon, John, of Maddeley, yeoman 3
5593283 2532879 2532879 defendant Hergest Roger gent 593739 593739 Hergest, Roger, of Pencombe, gent 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.039ms