home / cp40x

names

5 rows where place_id = 873043

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4983697 2352051 2352051 defendant Bedyll Richard   873043 873043 Bedyll, Richard, of Assheton, Wilts, millward 0
5320819 2451315 2451315 defendant Sprotte Robert yeoman 873043 873043 Sprotte, Robert, of Assheton, Wilts, yeoman 0
5504400 2506293 2506293 defendant Bartelot William husbandman 873043 873043 Bartelot, William, of Assheton, Wilts, husbandman 0
5551746 2520554 2520554 defendant Gylbert John gent 873043 873043 Gylbert, John, of Assheton, Wilts, gent 0
5571226 2526144 2526144 defendant Gylberd John gent 873043 873043 Gylberd, John, of Assheton, Wilts, gent 1

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