home / cp40x

names

8 rows where case_id = 2418866

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5210710 2418866 2418866 plaintiff Uffenham John     Uffenham, John 0
5210711 2418866 2418866 defendant Smyth Roger smith 590357 590357 Smyth, Roger, of Wilton, smith 0
5210712 2418866 2418866 defendant Bovy Nicholas brewer 830976 830976 Bovy, Nicholas, of Maiden Bradley, brewer 1
5210713 2418866 2418866 defendant Shevyn John hostler 586859 586859 Shevyn, John, of Salisbury, hostler 2
5210714 2418866 2418866 defendant Byngley George weaver 689836 689836 Byngley, George, of Warminster, weaver 3
5210715 2418866 2418866 defendant Hetheruand or Hethernand John   856052 856052 Hetheruand or Hethernand, John, of Wylton by Salisbury, glove maker 4
5210716 2418866 2418866 defendant Damell John   600545 600545 Damell, John, of Fyssherton Ancher, galosh maker 5
5210717 2418866 2418866 defendant Raundes John   859683 859683 Raundes, John, of Stratford sub Castle, near old Salisbury, bailiff 6

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.975ms