home / cp40x

names

6 rows where case_id = 2337850

✎ 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
4936655 2337850 2337850 plaintiff Bratnam Ralph     Bratnam, Ralph 0
4936656 2337850 2337850 defendant Aweneby Richard husbandman 590819 590819 Aweneby, Richard, of Bynbroke, husbandman 0
4936657 2337850 2337850 defendant Aweneby William husbandman 590819 590819 Aweneby, William, of Bynbroke, husbandman 1
4936658 2337850 2337850 defendant Smyth John smith 603070 603070 Smyth, John, of Claxby, smith 2
4936659 2337850 2337850 defendant Mason Margaret widow 603070 603070 Mason, Margaret, of Claxby, widow 3
4936660 2337850 2337850 defendant Mason Ralph clerk 824596 824596 Mason, Ralph, of Steynton in the Hole, clerk 4

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