home / cp40x

names

6 rows where case_id = 1942276

✎ 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
3751120 1942276 1942276 plaintiff More Thomas knight, Chancellor of Duchy of Lancaster   More, Thomas, knight, Chancellor of Duchy of Lancaster 0
3751121 1942276 1942276 plaintiff Knyghtly Edward esq   Knyghtly, Edward, esq 1
3751122 1942276 1942276 defendant Becka Elias   602640 602640 Becka, Elias, of Grenewich, Kent 0
3751123 1942276 1942276 defendant Bado Robert clerk 589772 589772 Bado, Robert, of Barkyng, Essex, clerk 1
3751124 1942276 1942276 defendant Breerton Edward gent 623197 623197 Breerton, Edward, of Grefford, Bromfeld, March of Wales, gent 2
3751125 1942276 1942276 defendant Gytton Robert gent 621065 621065 Gytton, Robert, of Wrexham, gent 3

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 8.183ms