home / cp40x

names

5 rows where place_id = 778716

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4656241 2247844 2247844 defendant Calverley Thomas shoemaker 778716 778716 Calverley, Thomas, of Nesfeld, shoemaker 0
4877217 2319831 2319831 defendant Thomas Richard husbandman 778716 778716 Thomas, Richard, of Nesfeld, husbandman 0
4877218 2319831 2319831 defendant de Mirescogh Robert husbandman 778716 778716 de Mirescogh, Robert, of Nesfeld, husbandman 1
4877219 2319831 2319831 defendant Somerscales William husbandman 778716 778716 Somerscales, William, of Nesfeld, husbandman 2
5119409 2392103 2392103 defendant Currour Henry yeoman 778716 778716 Currour, Henry, of Nesfeld, yeoman 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 15.493ms