home / cp40x

names

8 rows where case_id = 1981052

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3872590 1981052 1981052 plaintiff Botry William (legal representative) 585869 585869 Botry, William, of London, mercer, executors of 0
3872591 1981052 1981052 plaintiff Gressham Richard mercer 585869 585869 (Gressham, Richard, of London, mercer 1
3872592 1981052 1981052 plaintiff Gressham John mercer 585869 585869 Gressham, John, of London, mercer 2
3872593 1981052 1981052 defendant Gammage Thomas   643291 643291 Gammage, Thomas, of Coytyff Castell, Glamorgan, knight 0
3872594 1981052 1981052 defendant Ratclyff Humphrey   585869 585869 Ratclyff, Humphrey, of London, knight 1
3872595 1981052 1981052 defendant Wekys Nicholas gent 612010 612010 Wekys, Nicholas, of Dodyngton, Glos, gent 2
3872596 1981052 1981052 defendant Cotton Roger gent 585869 585869 Cotton, Roger, of London, gent 3
3872597 1981052 1981052 defendant Sapcott Richard   585869 585869 Sapcott, Richard, of London, knight 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.659ms