home / cp40x

names

7 rows where place_id = 588797

✎ 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
3595620 1866257 1866257 defendant Hewetsun William chapman 588797 588797 Hewetsun, William, of Tunstall, Lancs, chapman 1
4312726 2134583 2134583 defendant Burton Thomas   588797 588797 Burton, Thomas, of Tunstall, Lancs yeoman 0
4366812 2153178 2153178 defendant Burton Thomas husbandman 588797 588797 Burton, Thomas, of Tunstall, Lancs, husbandman 0
4846919 2310544 2310544 defendant Jonson William yeoman 588797 588797 Jonson, William, of Tunstall, Lancs, yeoman 0
4846920 2310544 2310544 defendant Willyamson Oliver yeoman 588797 588797 Willyamson, Oliver, of Tunstall, Lancs, yeoman 1
5009622 2359693 2359693 defendant Baynbryg Robert yeoman 588797 588797 Baynbryg, Robert, of Tunstall, Lancs, yeoman 0
5009625 2359693 2359693 defendant Neleson William yeoman 588797 588797 Neleson, William, of Tunstall, Lancs, yeoman 3

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 20.009ms