home / cp40x

names

6 rows where case_id = 2041514

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4047360 2041514 2041514 plaintiff Staveley or Stalye William alderman 586254 586254 Staveley or Stalye, William, of Southampton, merchant, alderman 0
4047361 2041514 2041514 defendant Chevers Roger innkeeper 585869 585869 Chevers, Roger, of London, or of Trowebridge, Wilts, innkeeper 0
4047362 2041514 2041514 defendant Turnor William dyer 585869 585869 Turnor, William, of London, or of Bassingestoke, Hants, dyer 1
4047363 2041514 2041514 defendant Lamberd Thomas vintner 585869 585869 Lamberd, Thomas, of London, or of Shaftesbury, Dorset, vintner 2
4047364 2041514 2041514 defendant Cowdre George vintner 585869 585869 Cowdre, George, of London, or of Glastonbury, Soms, vintner 3
4047365 2041514 2041514 defendant Cooke John clothier 626131 626131 Cooke, John, of Petworthe, Sussex, clothier 4

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