home / cp40x

names

6 rows where case_id = 2439140

✎ 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
5279678 2439140 2439140 plaintiff Broun William   586953 586953 Broun, William, of Sudbury 0
5279679 2439140 2439140 defendant Maykyn Thomas husbandman 621832 621832 Maykyn, Thomas, of Alpheton, husbandman 0
5279680 2439140 2439140 defendant Clerk John fuller 586953 586953 Clerk, John, of Sudbury, fuller 1
5279681 2439140 2439140 defendant Shyppley Thomas pedder 586953 586953 Shyppley, Thomas, of Sudbury, pedder 2
5279682 2439140 2439140 defendant Stonham John saddler 586953 586953 Stonham, John, of Sudbury, saddler 3
5279683 2439140 2439140 defendant Roberd John shoemaker 586953 586953 Roberd, John, of Sudbury, shoemaker 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.248ms