home / cp40x

names

6 rows where case_id = 2426829

✎ 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
5238425 2426829 2426829 plaintiff Gygges John     Gygges, John 0
5238426 2426829 2426829 defendant Herberd Richard taverner 585936 585936 Herberd, Richard, of Norwich, taverner 0
5238427 2426829 2426829 defendant Hopton Walter merchant 586175 586175 Hopton, Walter, of Canterbury, merchant 1
5238428 2426829 2426829 defendant Melyour John merchant 585869 585869 Melyour, John, of London, merchant 2
5238429 2426829 2426829 defendant Kyrton Thomas yeoman 618198 618198 Kyrton, Thomas, of Shotford, yeoman 3
5238430 2426829 2426829 defendant Leweson John baker 588845 588845 Leweson, John, of Grymston, baker 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 9.249ms