home / cp40x

names

6 rows where case_id = 2403267

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5157271 2403267 2403267 plaintiff Pakenham Hugh formerly sheriff of Wiltshire   Pakenham, Hugh, formerly sheriff of Wiltshire 0
5157272 2403267 2403267 defendant Temse William gent 854271 854271 Temse, William, of Rode Ayssheton, Wilts, gent 0
5157273 2403267 2403267 defendant Alcombe Walter husbandman 854272 854272 Alcombe, Walter, of Steeple Ayssheton, Wilts, husbandman 1
5157274 2403267 2403267 defendant Folde Thomas brewer 593796 593796 Folde, Thomas, of Salisbury, Wilts, brewer 2
5157275 2403267 2403267 defendant Fenne John husbandman 592037 592037 Fenne, John, of Chippenham, Wilts, husbandman 3
5157276 2403267 2403267 defendant Broune John weaver 598486 598486 Broune, John, of Chippenham, weaver 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 19.767ms