home / cp40x

names

7 rows where place_id = 661981

✎ 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
3963263 2011754 2011754 defendant Colens John mercer 661981 661981 Colens, John, of Hungerforde, Wilts, mercer 0
3963326 2011773 2011773 defendant Canam Roger husbandman 661981 661981 Canam, Roger, of Hungerforde, Wilts, husbandman 0
3988513 2020635 2020635 defendant Lovelack George chapman 661981 661981 Lovelack, George, of Hungerforde, Wilts, chapman 0
3988515 2020636 2020636 defendant Lovelack William chapman 661981 661981 Lovelack, William, of Hungerforde, Wilts, chapman 0
4265345 2118052 2118052 defendant Mason Francis   661981 661981 Mason, Francis, of Hungerforde, Wilts, felt maker 0
4333791 2141582 2141582 defendant Mason Francis chapman 661981 661981 Mason, Francis, of Hungerforde, Wilts ,chapman 1
4671218 2256654 2256654 defendant Dyere alias Gorewey John dyer 661981 661981 Dyere alias Gorewey, John, of Hungerforde, Wilts, dyer 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 14.995ms