home / cp40x

names

7 rows where case_id = 1942055

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3750439 1942055 1942055 plaintiff Lovell Thomas knight   Lovell, Thomas, knight, executors of 0
3750440 1942055 1942055 plaintiff Broke Richard knight, Chief Baron of the Exchequer   (Broke, Richard, knight, Chief Baron of the Exchequer 1
3750441 1942055 1942055 plaintiff Paston William     Paston, William 2
3750442 1942055 1942055 plaintiff Lovell Francis esq   Lovell, Francis, esq 3
3750443 1942055 1942055 plaintiff Carleton John     Carleton, John 4
3750444 1942055 1942055 defendant Thomas William   585869 585869 Thomas, William, of London, knight 0
3750445 1942055 1942055 defendant Gyfford John   623057 623057 Gyfford, John,of Chyllyngton, Staffs, knight 1

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