home / cp40x

names

7 rows where case_id = 2412049

✎ 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
5187440 2412049 2412049 plaintiff Haunsert Richard   587452 587452 Haunsert, Richard, of Ouresby 0
5187441 2412049 2412049 defendant Trewe John husbandman 831947 831947 Trewe, John, of Middle Rasyn, husbandman 0
5187442 2412049 2412049 defendant Hende Walter merchant 590061 590061 Hende, Walter, of Barton on Humber, merchant 1
5187443 2412049 2412049 defendant Fulstowe Thomas   590061 590061 Fulstowe, Thomas, of Barton on Humber, servant 2
5187444 2412049 2412049 defendant Broughton Thomas merchant 604829 604829 Broughton, Thomas, of Great Grymesby, merchant 3
5187445 2412049 2412049 defendant Hall William clerk 633037 633037 Hall, William, of Candelesby, clerk 4
5187446 2412049 2412049 defendant Bryt Richard   857381 857381 Bryt, Richard, of Wadyngham, labor 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 16.935ms