home / cp40x

names

5 rows where place_id = 634504

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3819268 1963916 1963916 defendant Canon John husbandman 634504 634504 Canon, John, of Ellough, husbandman 1
3872009 1980870 1980870 defendant Elmye Stephen husbandman 634504 634504 Elmye, Stephen, of Ellough, husbandman 0
3895064 1988558 1988558 defendant Vicars George chaplain 634504 634504 Vicars, George, of Ellough, chaplain 0
3967414 2013234 2013234 defendant Barnes Thomas singleman 634504 634504 Barnes, Thomas, of Ellough, singleman 0
4006704 2027177 2027177 plaintiff Love or Lone John yeoman 634504 634504 Love or Lone, John, of Ellough, yeoman 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 17.593ms