home / cp40x

names

6 rows where case_id = 1872566

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3615746 1872566 1872566 plaintiff Copyldyke William     Copyldyke, William 0
3615747 1872566 1872566 defendant John John yeoman 589377 589377 John, John, of Thaxsted, yeoman 0
3615748 1872566 1872566 defendant Sandyche John husbandman 586201 586201 Sandyche, John, of Spryngfeld, husbandman 1
3615749 1872566 1872566 defendant Ponde John husbandman 594356 594356 Ponde, John, of Writtyll, husbandman 2
3615750 1872566 1872566 defendant Laughton William   593690 593690 Laughton, William, of Shelley, wax chandler 3
3615751 1872566 1872566 defendant Wedham William husbandman 588991 588991 Wedham, William, of Magna Waltham, 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 17.357ms