home / cp40x

names

6 rows where case_id = 2353351

✎ 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
4987912 2353351 2353351 plaintiff Bokelond Thomas     Bokelond, Thomas 0
4987913 2353351 2353351 defendant Smalbone John chaplain 593027 593027 Smalbone, John, of Thornbury, chaplain 0
4987914 2353351 2353351 defendant Mundy Richard husbandman 611296 611296 Mundy, Richard, of Blockley, Worcs, husbandman 1
4987915 2353351 2353351 defendant Hoper John husbandman 599858 599858 Hoper, John, of Chedworth, husbandman 2
4987916 2353351 2353351 defendant Dobyns Guy husbandman 588010 588010 Dobyns, Guy, of Newent, husbandman 3
4987917 2353351 2353351 defendant Burwall John husbandman 831103 831103 Burwall, John, of Ongley by Newent, 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 16.24ms