home / cp40x

names

6 rows where case_id = 2554851

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5634701 2554851 2554851 plaintiff Wake Thomas esq   Wake, Thomas, esq 0
5634702 2554851 2554851 defendant Hampton Thomas husbandman 654484 654484 Hampton, Thomas, of Twywell, husbandman 0
5634703 2554851 2554851 defendant Bukby John yeoman 590028 590028 Bukby, John, of Bukby, yeoman 1
5634704 2554851 2554851 defendant Russell William ploughman 590028 590028 Russell, William, of Bukby, ploughman 2
5634705 2554851 2554851 defendant Stodvyle John husbandman 616939 616939 Stodvyle, John, of Wendlyngburgh, husbandman 3
5634706 2554851 2554851 defendant atte Gotere Thomas weaver 616939 616939 atte Gotere, Thomas, of Wendlyngburgh, weaver 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 17.332ms