home / cp40x

names

8 rows where case_id = 2463521

✎ 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
5361165 2463521 2463521 plaintiff Spycer John (legal representative)   Spycer, John, executors of 0
5361166 2463521 2463521 plaintiff Abur John chaplain   (Abur, John, chaplain 1
5361167 2463521 2463521 plaintiff Yong Richard     Yong, Richard 2
5361168 2463521 2463521 defendant Tanner Henry tanner 587981 587981 Tanner, Henry, of Tetbury, tanner 0
5361169 2463521 2463521 defendant Webbe William yeoman 587346 587346 Webbe, William, of Malmesbury, Wilts, yeoman 1
5361170 2463521 2463521 defendant Swetwell John haberdasher 586958 586958 Swetwell, John, of Gloucester, haberdasher 2
5361171 2463521 2463521 defendant Staffe John butcher 591089 591089 Staffe, John, of Malmesbury, butcher 3
5361172 2463521 2463521 defendant Staffe Thomas yeoman 877564 877564 Staffe, Thomas, of Maudites, Wilts, yeoman 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 18.029ms