home / cp40x

names

5 rows where place_id = 589667

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3598368 1867120 1867120 defendant Blaste John clothman 589667 589667 Blaste, John, of Trowebrygge, clothman 1
3621070 1874145 1874145 defendant Adams Thomas yeoman 589667 589667 Adams, Thomas, of Trowebrygge, yeoman 2
5154103 2402358 2402358 defendant Halle John gent 589667 589667 Halle, John, of Trowebrygge, gent 1
5171301 2407329 2407329 defendant Halle John gent 589667 589667 Halle, John, of Trowebrygge, gent 1
5423277 2481924 2481924 defendant Wilkockys William   589667 589667 Wilkockys, William, of Trowebrygge, Wilts. Dyer 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 12.054ms