home / cp40x

names

7 rows where case_id = 2415014

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5197517 2415014 2415014 plaintiff Styward William     Styward, William 0
5197518 2415014 2415014 defendant Chirche Robert administrators of   Chirche, Robert, administrators of 0
5197519 2415014 2415014 defendant Deye Henry gent 605541 605541 (Deye, Henry, of Great Fynbergh, gent 1
5197520 2415014 2415014 defendant Gerych John butcher 598220 598220 Gerych, John, of Halesworth, butcher 2
5197521 2415014 2415014 defendant Skuttyng William merchant 586785 586785 Skuttyng, William, of Blyburgh, merchant 3
5197522 2415014 2415014 defendant Chirche Christian widow 783789 783789 Chirche, Christian, of Haselwode, widow 4
5197523 2415014 2415014 defendant Hobbes Walter husbandman 783789 783789 Hobbes, Walter, of Haselwode, husbandman 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 14.775ms