home / cp40x

names

5 rows where case_id = 2056044

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4088111 2056044 2056044 plaintiff Calmady Richard gent, attorney of the bench   Calmady, Richard, gent, attorney of the bench 0
4088112 2056044 2056044 defendant Losemore Robert gent 653954 653954 Losemore, Robert, of Tiverton, Devon, gent 0
4088113 2056044 2056044 defendant Dyllonde William   610124 610124 Dyllonde, William, of Heampton, Devon esq 1
4088114 2056044 2056044 defendant Peter William husbandman 588557 588557 Peter, William, of Tyverton, husbandman 2
4088115 2056044 2056044 defendant Grynslade William weaver 676815 676815 Grynslade, William, of Thelbridge, Devon, weaver 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 13.465ms