home / cp40x

names

6 rows where case_id = 2414861

✎ 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
5196974 2414861 2414861 plaintiff Stanley John knight, formerly sheriff of Staffordshire   Stanley, John, knight, formerly sheriff of Staffordshire 0
5196975 2414861 2414861 defendant Pipewell Richard gent 587516 587516 Pipewell, Richard, of Stafford, gent 0
5196976 2414861 2414861 defendant West Richard yeoman 620298 620298 West, Richard, of Fossebroke, yeoman 1
5196977 2414861 2414861 defendant Bailly William yeoman 586314 586314 Bailly, William, of Bromley Abbot, yeoman 2
5196978 2414861 2414861 defendant Stamford John yeoman 587516 587516 Stamford, John, of Stafford, yeoman 3
5196979 2414861 2414861 defendant Coton John yeoman 620298 620298 Coton, John, of Fossebroke, yeoman 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 18.452ms