home / cp40x

names

7 rows where place_id = 610923

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3685875 1921741 1921741 defendant Burges William clothier 610923 610923 Burges, William, of Battecombe, clothier 2
4668971 2255999 2255999 defendant Roule John draper 610923 610923 Roule, John, of Battecombe, draper 0
4979532 2350837 2350837 defendant Amys Richard husbandman 610923 610923 Amys, Richard, of Battecombe, husbandman 0
5212821 2419495 2419495 defendant Ede John chaplain 610923 610923 Ede, John, of Battecombe, chaplain 0
5212822 2419495 2419495 defendant Role Thomas laborer 610923 610923 Role, Thomas, of Battecombe, laborer 1
5212826 2419495 2419495 defendant Cattecote John laborer 610923 610923 Cattecote, John, of Battecombe, laborer 5
5350367 2460236 2460236 defendant Yardbury Henry dyer 610923 610923 Yardbury, Henry, of Battecombe, dyer 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 13.325ms