home / cp40x

names

8 rows where case_id = 2552623

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5627653 2552623 2552623 plaintiff Page Thomas   587635 587635 Page, Thomas, of Hadlegh 0
5627654 2552623 2552623 defendant Bury John cordwainer 587635 587635 Bury, John, of Hadlegh, cordwainer 0
5627655 2552623 2552623 defendant Cook John chandler 587635 587635 Cook, John, of Hadlegh, chandler 1
5627656 2552623 2552623 defendant Smyth Stephen draper 587635 587635 Smyth, Stephen, of Hadlegh, draper 2
5627657 2552623 2552623 defendant Spillyng John, junior chapman 587635 587635 Spillyng, John, junior, of Hadlegh, chapman 3
5627658 2552623 2552623 defendant Cook John butcher 592109 592109 Cook, John, of kersey, butcher 4
5627659 2552623 2552623 defendant Wade Simon fuller 590961 590961 Wade, Simon, of Bildeston, fuller 5
5627660 2552623 2552623 defendant Strout William husbandman 588357 588357 Strout, William, of Heygham, husbandman 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 15.499ms