home / cp40x

names

7 rows where case_id = 2351784

✎ 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
4982852 2351784 2351784 plaintiff Tylney Philip clerk   Tylney, Philip, clerk 0
4982853 2351784 2351784 defendant Spendluffe Thomas husbandman 830418 830418 Spendluffe, Thomas, of Quapplod, husbandman 0
4982854 2351784 2351784 defendant atte Hall William husbandman 594135 594135 atte Hall, William, of Tydde St Mary, husbandman 1
4982855 2351784 2351784 defendant Bateson Thomas husbandman 594135 594135 Bateson, Thomas, of Tydde St Mary, husbandman 2
4982856 2351784 2351784 defendant Man Nicholas husbandman 587058 587058 Man, Nicholas, of Sutton, husbandman 3
4982857 2351784 2351784 defendant Hunston John husbandman 594135 594135 Hunston, John, of Tydde St Mary, husbandman 4
4982858 2351784 2351784 defendant Monke William   621883 621883 Monke, William, of Tydde St Giles, Cams, swanherd 5

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