home / cp40x

names

7 rows where case_id = 1981730

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3874613 1981730 1981730 plaintiff Cutteras Roger (legal representative)   Cutteras, Roger, executor of 0
3874614 1981730 1981730 plaintiff Cutteras John     Cutteras, John 1
3874615 1981730 1981730 defendant Hokett Richard caryer 588645 588645 Hokett, Richard, of Clare, caryer 0
3874616 1981730 1981730 defendant Chapman Edmund pedder 586180 586180 Chapman, Edmund, of Bury St Edmunds, pedder 1
3874617 1981730 1981730 defendant Pyngle Thomas tailor 597208 597208 Pyngle, Thomas, of Haverell, tailor 2
3874618 1981730 1981730 defendant Papworthe John pedder 590243 590243 Papworthe, John, of Newmarket, pedder 3
3874619 1981730 1981730 defendant Dawbery John husbandman 590881 590881 Dawbery, John, of Exnyng, husbandman 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.842ms