home / cp40x

names

5 rows where place_id = 774511

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3946294 2005779 2005779 defendant Salmon William (legal representative) 774511 774511 Salmon, William, of Fenny Drayton, yeoman, executors of 1
4612972 2235115 2235115 defendant Turtulton Thomas   774511 774511 Turtulton, Thomas, of Fenny Drayton 0
4765161 2285083 2285083 defendant Purfrey William gent 774511 774511 Purfrey, William, of Fenny Drayton, gent 0
4868680 2317176 2317176 defendant Faukes John husbandman 774511 774511 Faukes, John, of Fenny Drayton, husbandman 0
5311123 2448357 2448357 plaintiff Wodecote Thomas   774511 774511 Wodecote, Thomas, of Fenny Drayton, parson & chaplain 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 14.539ms