home / cp40x

names

6 rows where case_id = 2336516

✎ 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
4932352 2336516 2336516 plaintiff Wheler John   588802 588802 Wheler, John, of Wotton 0
4932353 2336516 2336516 defendant Brasyer William tanner 656891 656891 Brasyer, William, of Stratford upon Avon, tanner 0
4932354 2336516 2336516 defendant Benyngton Thomas   596596 596596 Benyngton, Thomas, of Kynges Norton, Worcs, franklin 1
4932355 2336516 2336516 defendant Peche Walter sawyer 588617 588617 Peche, Walter, of Bromesgrove, Worcs, sawyer 2
4932356 2336516 2336516 defendant Barker William carpenter 789433 789433 Barker, William, of Lapworth, Warws, carpenter 3
4932357 2336516 2336516 defendant Pratte John husbandman 607947 607947 Pratte, John, of Lapworth, husbandman 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.02ms