home / cp40x

names

7 rows where case_id = 1933096

✎ 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
3721825 1933096 1933096 plaintiff Lucas Thomas esq   Lucas, Thomas, esq 0
3721826 1933096 1933096 defendant Both Philip   600256 600256 Both, Philip, of Barham, Suff, knight 0
3721827 1933096 1933096 defendant Catesby John esq 617899 617899 Catesby, John, of Oldthorp, Nhants, esq 1
3721828 1933096 1933096 defendant Lytton William gent 617900 617900 Lytton, William, of Kneborough, Herts, gent 2
3721829 1933096 1933096 defendant Bysley William gent 585925 585925 Bysley, William, of Bristol, gent 3
3721830 1933096 1933096 defendant Frogmerton George esq 617901 617901 Frogmerton, George, of Tretyll, Glos, esq 4
3721831 1933096 1933096 defendant Paunnesfote John esq 617902 617902 Paunnesfote, John, of Hasfeld, Glos, esq 5

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.629ms