home / cp40x

names

7 rows where case_id = 2318775

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4873893 2318775 2318775 plaintiff Porter Richard     Porter, Richard 0
4873894 2318775 2318775 defendant Smyth Robert husbandman 815740 815740 Smyth, Robert, of Copelound, Bradweye, Soms, husbandman 0
4873895 2318775 2318775 defendant Melwyche John husbandman 629360 629360 Melwyche, John, of Portlond, husbandman 1
4873896 2318775 2318775 defendant Sage Thomas butcher 586259 586259 Sage, Thomas, of Pole, butcher 2
4873897 2318775 2318775 defendant Godewyn John husbandman 815741 815741 Godewyn, John, of Yberton, husbandman 3
4873898 2318775 2318775 defendant Repe Walter husbandman 771874 771874 Repe, Walter, of Symondesbergh, husbandman 4
4873899 2318775 2318775 defendant Shampe Nicholas husbandman 815742 815742 Shampe, Nicholas, of Nytherberye, 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 15.327ms