home / cp40x

names

7 rows where case_id = 2326820

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4900568 2326820 2326820 plaintiff (not given) William bishop of Duncalden or Dunkeld   Duncalden or Dunkeld, William, bishop of 0
4900569 2326820 2326820 defendant Lempstere Thomas husbandman 586079 586079 Lempstere, Thomas, of Bedford, husbandman 0
4900570 2326820 2326820 defendant Dunwode William husbandman 586079 586079 Dunwode, William, of Bedford, husbandman 1
4900571 2326820 2326820 defendant Abbot Thomas husbandman 779348 779348 Abbot, Thomas, of West Coton, husbandman 2
4900572 2326820 2326820 defendant Chaloner John husbandman 770939 770939 Chaloner, John, of Fenlake, husbandman 3
4900573 2326820 2326820 defendant Swene John husbandman 610164 610164 Swene, John, of Pulloxhill, husbandman 4
4900574 2326820 2326820 defendant Sawage John husbandman 607776 607776 Sawage, John, of Goldyngton, husbandman 5

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