home / cp40x

names

6 rows where place_id = 776177

✎ 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
4631100 2240623 2240623 plaintiff Garton Thomas   776177 776177 Garton, Thomas, of Peterbrough 2
4691984 2263028 2263028 defendant Staunton William butcher 776177 776177 Staunton, William, of Peterbrough, butcher 0
4691985 2263028 2263028 defendant Wodeward John butcher 776177 776177 Wodeward, John, of Peterbrough, butcher 1
4701522 2265870 2265870 defendant Smyth William husbandman 776177 776177 Smyth, William, of Peterbrough, husbandman 0
4713459 2269532 2269532 defendant Chaloner William chapman 776177 776177 Chaloner, William, of Peterbrough, chapman 0
5000940 2357155 2357155 defendant Ryot Richard shoemaker 776177 776177 Ryot, Richard, of Peterbrough, shoemaker 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 15.736ms