home / cp40x

names

6 rows where case_id = 2340258

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4944495 2340258 2340258 plaintiff Haseley William   756059 756059 Haseley, William, of Shenegey 0
4944496 2340258 2340258 defendant Hornewold John, senior husbandman 598829 598829 Hornewold, John, senior, of Meldeburn, husbandman 0
4944497 2340258 2340258 defendant Cosyn Walter husbandman 598829 598829 Cosyn, Walter, of Meldeburn, husbandman 1
4944498 2340258 2340258 defendant Taillour Thomas butcher 593015 593015 Taillour, Thomas, of Melreth, butcher 2
4944499 2340258 2340258 defendant Bocher Alexander butcher 586935 586935 Bocher, Alexander, of Royston, butcher 3
4944500 2340258 2340258 defendant Saunder William butcher 586935 586935 Saunder, William, of Royston, butcher 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 13.497ms