home / cp40x

names

6 rows where place_id = 639731

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3850603 1973776 1973776 defendant Sowgat Robert husbandman 639731 639731 Sowgat, Robert, of Comes, husbandman 0
3850604 1973776 1973776 defendant Powyll Robert   639731 639731 Powyll, Robert, of Comes, wheelwright 1
3955974 2009160 2009160 defendant Benny William yeoman 639731 639731 Benny, William, of Comes, yeoman 0
4115743 2065911 2065911 defendant Edgore Christopher yeoman 639731 639731 Edgore, Christopher, of Comes, yeoman 0
4382947 2159010 2159010 defendant Smale Thomas Suff, clothier 639731 639731 Smale Thomas, of Comes, Suff, clothier 1
4448889 2184591 2184591 plaintiff Gardyner Richard   639731 639731 Gardyner, Richard, of Comes 0

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