home / cp40x

names

9 rows where case_id = 2372052

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5051459 2372052 2372052 plaintiff Whelpley Thomas     Whelpley, Thomas 0
5051460 2372052 2372052 defendant Whelpley William laborer 840462 840462 Whelpley, William, of North Barkemastede, laborer 0
5051461 2372052 2372052 defendant Whelpley Agnes     Agnes, his wife 1
5051462 2372052 2372052 defendant Olney Stephen laborer 840463 840463 Olney, Stephen, of North Barkemstede, laborer 2
5051463 2372052 2372052 defendant Olney Marion     Marion, his wife 3
5051464 2372052 2372052 defendant Holte Thomas fuller 597835 597835 Holte, Thomas, of Chesham, Bucks, fuller 4
5051465 2372052 2372052 defendant Holte Ceciliar     Ceciliar, his wife 5
5051466 2372052 2372052 defendant Whelpley Richard   840464 840464 Whelpley, Richard, of North Barkeamstede, shoe maker 6
5051467 2372052 2372052 defendant Joan       Joan, 7

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 16.415ms