home / cp40x

names

6 rows where case_id = 2277044

✎ 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
4738194 2277044 2277044 plaintiff Welles John (legal representative) 587920 587920 Welles, John, of Maldon, administrator of 0
4738195 2277044 2277044 plaintiff Welles Thomas   587920 587920 Welles, Thomas, of Maldon, son of John 1
4738196 2277044 2277044 defendant Broun William chaplain 586846 586846 Broun, William, of Lincoln, chaplain 0
4738197 2277044 2277044 defendant Shefeld Thomas   670383 670383 Shefeld, Thomas, of Burton, Notts, franklin 1
4738198 2277044 2277044 defendant Fulstowe Richard husbandman 588384 588384 Fulstowe, Richard, of Barton, Lincs, husbandman 2
4738199 2277044 2277044 defendant Maundevyle John husbandman 670383 670383 Maundevyle, John, of Burton, Notts, husbandman 3

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 19.141ms