home / cp40x

names

8 rows where case_id = 2342658

✎ 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
4952327 2342658 2342658 plaintiff Roger John (legal representative) 826622 826622 Roger, John, of Brianeston, executors of 0
4952328 2342658 2342658 plaintiff Roger John his son   (Roger, John, his son 1
4952329 2342658 2342658 plaintiff Howelyn John     Howelyn, John 2
4952330 2342658 2342658 plaintiff Russell William     Russell, William 3
4952331 2342658 2342658 defendant Percy Richard gent 585975 585975 Percy, Richard, of Shaftesbury, gent 0
4952332 2342658 2342658 defendant Kyng Peter butcher 585975 585975 Kyng, Peter, of Shaftesbury, butcher 1
4952333 2342658 2342658 defendant Aissh John husbandman 586852 586852 Aissh, John, of Twyford, husbandman 2
4952334 2342658 2342658 defendant Stantor William gent 610922 610922 Stantor, William, of Hyndon, Wilts, gent 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 14.191ms