home / cp40x

names

7 rows where case_id = 2468346

✎ 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
5376825 2468346 2468346 plaintiff Smyth John     Smyth, John 0
5376826 2468346 2468346 defendant Rage Thomas husbandman 589631 589631 Rage, Thomas, of Allesley, husbandman 0
5376827 2468346 2468346 defendant Benyre Robert barker or tanner 586117 586117 Benyre, Robert, of Coventry, barker or tanner 1
5376828 2468346 2468346 defendant Skynner Robert yeoman 590057 590057 Skynner, Robert, of Rokeby, yeoman 2
5376829 2468346 2468346 defendant Rogers John (legal representative)   Rogers, John, executors of 3
5376830 2468346 2468346 defendant Rogers William husbandman 880027 880027 (Rogers, William, of Preston Barnes in Claredon, husbandman 4
5376831 2468346 2468346 defendant Rogers Richard husbandman 880028 880028 Rogers, Richard, of Preston Barnes, husbandman 5

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