home / cp40x

names

7 rows where case_id = 2271509

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4719700 2271509 2271509 plaintiff Bolt John   755389 755389 Bolt, John, of Bishop's Lenn 0
4719701 2271509 2271509 plaintiff Wodehous John esq 606482 606482 Wodehous, John, of Norfolk, esq 1
4719702 2271509 2271509 defendant Barbour Walter barber 755389 755389 Barbour, Walter, of Bishop's Lenn, barber 0
4719703 2271509 2271509 defendant Curson John yeoman, son of John Curson, sometime burgess of Bishop's Lenn, deceased   Curson, John, yeoman, son of John Curson, sometime burgess of Bishop's Lenn, deceased 1
4719704 2271509 2271509 defendant Swyft John yeoman 790662 790662 Swyft, John, of Bishop' Lenn, yeoman 2
4719705 2271509 2271509 defendant Wellyng John carpenter 755389 755389 Wellyng, John, of Bishop's Lenn, carpenter 3
4719706 2271509 2271509 defendant Baret Thomas   592225 592225 Baret, Thomas, of North Wotton, vicar 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 13.025ms