home / cp40x

names

6 rows where case_id = 1980866

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3871993 1980866 1980866 plaintiff Baskarvyle Richard gent 604473 604473 Baskarvyle, Richard, of Leomyster, gent 0
3871994 1980866 1980866 plaintiff Lluwellan Richard cordwainer 604473 604473 Lluwellan, Richard, of Leomyster, cordwainer 1
3871995 1980866 1980866 plaintiff Stevyns John, senior butcher 604473 604473 Stevyns, John, senior, of Leomyster, butcher 2
3871996 1980866 1980866 plaintiff Stevyns John, junior butcher 604473 604473 Stevyns, John, junior, of Leomyster, butcher 3
3871997 1980866 1980866 plaintiff Tyler Edward cordwainer 604473 604473 Tyler, Edward, of Leomyster, cordwainer 4
3871998 1980866 1980866 defendant Wall John     Wall, John 0

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