home / cp40x

names

9 rows where case_id = 2483843

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5429770 2483843 2483843 plaintiff (not given) John abbot of Haghmond   Haghmond, John, abbot of 0
5429771 2483843 2483843 defendant Bentley William husbandman 886662 886662 Bentley, William, of Kentysden, husbandman 0
5429772 2483843 2483843 defendant Morehall William husbandman 886662 886662 Morehall, William, of Kentysden, husbandman 1
5429773 2483843 2483843 defendant Wyder Thomas husbandman 886662 886662 Wyder, Thomas, of Kentysden, husbandman 2
5429774 2483843 2483843 defendant Morehall Thomas Kentysden, husbandman   Morehall, Thomas, Kentysden, husbandman 3
5429775 2483843 2483843 defendant Robyns John husbandman 886662 886662 Robyns, John, of Kentysden, husbandman 4
5429776 2483843 2483843 defendant Stone Edmund husbandman 597098 597098 Stone, Edmund, of Asteley, husbandman 5
5429777 2483843 2483843 defendant Stevenot William husbandman 597098 597098 Stevenot, William, of Asteley, husbandman 6
5429778 2483843 2483843 defendant London Richard husbandman 886663 886663 London, Richard, of Halghton by Haghmond, husbandman 7

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