home / cp40x

names

6 rows where case_id = 1983662

✎ 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
3880290 1983662 1983662 plaintiff Peryman John     Peryman, John 0
3880291 1983662 1983662 defendant Payn Alice widow 585869 585869 Payn, Alice, of London, widow 0
3880292 1983662 1983662 defendant Pennell John, senior yeoman 593315 593315 Pennell, John, senior, of Pentlowe, yeoman 1
3880293 1983662 1983662 defendant Hynde John glover 586941 586941 Hynde, John, of Boxford, glover 2
3880294 1983662 1983662 defendant Wade Thomas laborer 586192 586192 Wade, Thomas, of Tenderyng, laborer 3
3880295 1983662 1983662 defendant Townne alias Clerk John laborer 589238 589238 Townne alias Clerk, John, of Bulmer, laborer 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 16.234ms