home / cp40x

names

7 rows where case_id = 2259251

✎ 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
4679644 2259251 2259251 plaintiff Knyght William clerk   Knyght, William, clerk 0
4679645 2259251 2259251 plaintiff Sherpe William     Sherpe, William, on their own account 1
4679646 2259251 2259251 defendant Coble John vintner 586036 586036 Coble, John, of Exeter, vintner 0
4679647 2259251 2259251 defendant Pryuse William goldsmith 586036 586036 Pryuse, William, of Exeter, goldsmith 1
4679648 2259251 2259251 defendant Potter John dyer 587118 587118 Potter, John, of Exilond, dyer 2
4679649 2259251 2259251 defendant Kyngesford Thomas dyer 587118 587118 Kyngesford, Thomas, of Exilond, dyer 3
4679650 2259251 2259251 defendant Dyer Reginald dyer 586036 586036 Dyer, Reginald, of Exeter, dyer 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.894ms