home / cp40x

names

6 rows where case_id = 2460210

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5350283 2460210 2460210 plaintiff Cole Walter     Cole, Walter 0
5350284 2460210 2460210 defendant Willise Richard laborer 586958 586958 Willise, Richard, of Gloucester, laborer 0
5350285 2460210 2460210 defendant Puggisley John sherman 586958 586958 Puggisley, John, of Gloucester, sherman 1
5350286 2460210 2460210 defendant Goldsmyth William goldsmith 586958 586958 Goldsmyth, William, of Gloucester, goldsmith 2
5350287 2460210 2460210 defendant Fryman Thomas husbandman 618423 618423 Fryman, Thomas, of Corse, husbandman 3
5350288 2460210 2460210 defendant Coke William husbandman 618423 618423 Coke, William, of Corse, 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 12.199ms