home / cp40x

names

5 rows where case_id = 2008932

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3955323 2008932 2008932 plaintiff Margett Richard     Margett, Richard 0
3955324 2008932 2008932 defendant Browne Mathew husbandman 641310 641310 Browne, Mathew, of Blaxall, husbandman 0
3955325 2008932 2008932 defendant Rackham Robert husbandman 622517 622517 Rackham, Robert, of Sternefeld, husbandman 1
3955326 2008932 2008932 defendant Newson Thomas husbandman 622517 622517 Newson, Thomas, of Sternefeld, husbandman 2
3955327 2008932 2008932 defendant Goldyng Thomas husbandman 587219 587219 Goldyng, Thomas, of Ufford, 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 14.37ms