home / cp40x

names

4 rows where case_id = 2360711

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5013253 2360711 2360711 plaintiff atte Broke Nicholas     atte Broke, Nicholas 0
5013254 2360711 2360711 defendant Hillar Richard husbandman 602910 602910 Hillar, Richard, of Chabham, husbandman 0
5013255 2360711 2360711 defendant Turnour Richard, senior husbandman 835120 835120 Turnour, Richard, senior, of Fremlegh, husbandman 1
5013256 2360711 2360711 defendant Walssheman David yeoman 835121 835121 Walssheman, David, of Southe Hertyng, yeoman 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 17.1ms