home / cp40x

names

4 rows where case_id = 2447725

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5308955 2447725 2447725 plaintiff Sonde John     Sonde, John 0
5308956 2447725 2447725 defendant Dallyng Thomas yeoman 777469 777469 Dallyng, Thomas, of Baldyswell, yeoman 0
5308957 2447725 2447725 defendant Dallyng Nicholas clerk 637449 637449 Dallyng, Nicholas, of Alderford, clerk 1
5308958 2447725 2447725 defendant Pope John husbandman 777469 777469 Pope, John, of Baldyswell, husbandman 2

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 15.058ms