home / cp40x

names

5 rows where place_id = 607207

✎ 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
3668173 1915991 1915991 defendant Barners John gent 607207 607207 Barners, John, of Thersfeld, gent 0
3687478 1922262 1922262 defendant Wode William, junior husbandman 607207 607207 Wode, William, junior, of Thersfeld, husbandman 0
3694412 1924456 1924456 defendant Wode William husbandman 607207 607207 Wode, William, of Thersfeld, husbandman 1
3762667 1945961 1945961 defendant Maye Thomas husbandman 607207 607207 Maye, Thomas, of Thersfeld, husbandman 0
5290953 2442355 2442355 defendant Hervy Thomas yeoman 607207 607207 Hervy, Thomas, of Thersfeld, yeoman 4

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.188ms