home / cp40x

names

6 rows where case_id = 2265669

✎ 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
4700857 2265669 2265669 plaintiff Forde William   756556 756556 Forde, William, of King's Hatfeld 0
4700858 2265669 2265669 defendant Lockeles John, sen brewer 756556 756556 Lockeles, John, sen, of King's Hatfeld, brewer 0
4700859 2265669 2265669 defendant Bryd John   769942 769942 Bryd, John, of Little Canfeld, tile maker 1
4700860 2265669 2265669 defendant Baker Thomas baker 589376 589376 Baker, Thomas, of Thaxstede, baker 2
4700861 2265669 2265669 defendant Caldewell Simon husbandman 658765 658765 Caldewell, Simon, of Blunham, Beds, husbandman 3
4700862 2265669 2265669 defendant Yerdlyng William   671317 671317 Yerdlyng, William, of Hunsdon, Herts, shoe maker 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.309ms