home / cp40x

names

6 rows where case_id = 1874985

✎ 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
3623836 1874985 1874985 plaintiff Spynke William prior of Norwich Cathedral Priory   Spynke, William, prior of Norwich Cathedral Priory 0
3623837 1874985 1874985 defendant Gyles William husbandman 588027 588027 Gyles, William, of Crowchestoke, husbandman 0
3623838 1874985 1874985 defendant Myddelton Thomas gent 593327 593327 Myddelton, Thomas, of Horsford, gent 1
3623839 1874985 1874985 defendant Pory William clerk 587313 587313 Pory, William, of Heylesdon, clerk 2
3623840 1874985 1874985 defendant Whyte William yeoman 593021 593021 Whyte, William, of Cossey, yeoman 3
3623841 1874985 1874985 defendant Garrard Simon husbandman 593327 593327 Garrard, Simon, of Horsford, husbandman 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 7.113ms