home / cp40x

names

7 rows where place_id = 691883

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4092092 2057467 2057467 defendant Mayne John yeoman 691883 691883 Mayne, John, of Worrington, yeoman 0
4092094 2057468 2057468 defendant Mayne Thomas yeoman 691883 691883 Mayne, Thomas, of Worrington, yeoman 0
4189038 2091653 2091653 defendant Palmer John husbandman 691883 691883 Palmer, John, of Worrington, husbandman 0
4318674 2136641 2136641 defendant Carkeke John husbandman 691883 691883 Carkeke, John, of Worrington, husbandman 0
4363755 2152099 2152099 defendant Gewyn Richard, senior yeoman 691883 691883 Gewyn, Richard, senior, of Worrington, yeoman 0
4363756 2152099 2152099 defendant Gewyn Richard, junior   691883 691883 Gewyn, Richard, junior, of Worrington, clerk, his son 1
4363757 2152099 2152099 defendant Gewyn Thomas butcher 691883 691883 Gewyn, Thomas, of Worrington, butcher 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 12.726ms