home / cp40x

names

7 rows where place_id = 805912

✎ 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
4811749 2299785 2299785 defendant Chapour William butcher 805912 805912 Chapour, William, of Henton Abbots, butcher 0
4811750 2299785 2299785 defendant Gerveys Robert butcher 805912 805912 Gerveys, Robert, of Henton Abbots, butcher 1
4913289 2330656 2330656 defendant Bysshupp Edward husbandman 805912 805912 Bysshupp, Edward, of Henton Abbots, husbandman 2
4923890 2333912 2333912 defendant Gerveys John chapman 805912 805912 Gerveys, John, of Henton Abbots, chapman 0
5048129 2371064 2371064 defendant Gervays John husbandman 805912 805912 Gervays, John, of Henton Abbots, husbandman 0
5259699 2433157 2433157 defendant Chaper Thomas butcher 805912 805912 Chaper, Thomas, of Henton Abbots, butcher 3
5507903 2507370 2507370 defendant Chaper William butcher 805912 805912 Chaper, William, of Henton Abbots, butcher 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 16.702ms