home / cp40x

names

8 rows where case_id = 2288903

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4777330 2288903 2288903 plaintiff atte Wode William     atte Wode, William 0
4777331 2288903 2288903 plaintiff Moton John     Moton, John 1
4777332 2288903 2288903 defendant Heron Richard husbandman 773898 773898 Heron, Richard, of Therneby, husbandman 0
4777333 2288903 2288903 defendant atte Halle John husbandman 773898 773898 atte Halle, John, of Therneby, husbandman 1
4777334 2288903 2288903 defendant Skreven Thomas husbandman 801040 801040 Skreven, Thomas, of Naseby, husbandman 2
4777335 2288903 2288903 defendant Rote John husbandman 666491 666491 Rote, John, of Stoke Goldyngton, Bucks, husbandman 3
4777336 2288903 2288903 defendant Lombe Thomas husbandman 594214 594214 Lombe, Thomas, of Stoke Goldyngton, husbandman 4
4777337 2288903 2288903 defendant Stele William   594214 594214 Stele, William, of Stoke Goldyngton 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 15.278ms