home / cp40x

names

5 rows where case_id = 2104234

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4225058 2104234 2104234 plaintiff Cheyney Thomas     Cheyney, Thomas 0
4225059 2104234 2104234 defendant Woodward Henry yeoman 718478 718478 Woodward, Henry, of Duchelyn, Sussex, yeoman 0
4225060 2104234 2104234 defendant Hooker Walsingham yeoman 586555 586555 Hooker, Walsingham, of Lye, yeoman 1
4225061 2104234 2104234 defendant Ray William shoemaker 593321 593321 Ray, William, of Croyden, shoemaker 2
4225062 2104234 2104234 defendant Crust Christopher yeoman 586555 586555 Crust, Christopher, of Lye, yeoman 3

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