home / cp40x

names

6 rows where place_id = 707373

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4167675 2084187 2084187 defendant Mann John chapman 707373 707373 Mann, John, of Adyngham, chapman 5
4689829 2262377 2262377 defendant Hardewyk Henry husbandman 707373 707373 Hardewyk, Henry, of Adyngham, husbandman 0
4758532 2283048 2283048 defendant Dyconson John husbandman 707373 707373 Dyconson, John, of Adyngham, husbandman 1
4878601 2320251 2320251 defendant Poterton John butcher 707373 707373 Poterton, John, of Adyngham, butcher 1
5028153 2365106 2365106 defendant Hardewyk Robert yeoman 707373 707373 Hardewyk, Robert, of Adyngham, yeoman 1
5310331 2448121 2448121 defendant Aylmer William   707373 707373 Aylmer, William, of Adyngham 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 8.012ms