home / cp40x

names

6 rows where case_id = 2259408

✎ 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
4680173 2259408 2259408 plaintiff Ledes William   605106 605106 Ledes, William, of Faversham 0
4680174 2259408 2259408 defendant Boteler John ostler 759122 759122 Boteler, John, of Sydyngbourne or Sittingbourne, ostler 0
4680175 2259408 2259408 defendant Dawe John skinner 594733 594733 Dawe, John, of Sydyngbourne, skinner 1
4680176 2259408 2259408 defendant Burgeys John husbandman 589150 589150 Burgeys, John, of Maldon, Essex, husbandman 2
4680177 2259408 2259408 defendant Hethe John taverner 586175 586175 Hethe, John, of Canterbury, taverner 3
4680178 2259408 2259408 defendant Spenser John   703531 703531 Spenser, John, of Asshford, patyn 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.07ms