home / cp40x

names

5 rows where place_id = 625234

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3762910 1946033 1946033 defendant Boughton Richard husbandman 625234 625234 Boughton, Richard, of Amptell, husbandman 2
3863505 1977990 1977990 defendant Kyrke Edward innholder 625234 625234 Kyrke, Edward, of Amptell, innholder 0
3925115 1998712 1998712 defendant Russell Edward butcher 625234 625234 (Russell, Edward, of Amptell, butcher 1
3935446 2002168 2002168 defendant Myles William yeoman & servant of the Honorable Lord Grey of Wylton 625234 625234 Myles, William, of Amptell, yeoman & servant of the Honorable Lord Grey of Wylton 0
4120591 2067642 2067642 defendant Stockwell Alexander clerk 625234 625234 Stockwell, Alexander, of Amptell, clerk 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 12.068ms