home / cp40x

names

6 rows where case_id = 2378328

✎ 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
5072725 2378328 2378328 plaintiff Thurgore William     Thurgore, William 0
5072726 2378328 2378328 defendant Hepden Richard dyer 843105 843105 Hepden, Richard, of Wymbildon, Surrey, dyer 0
5072727 2378328 2378328 defendant Hert Agnes widow of Hert, John, of London, weaver   Hert, Agnes, widow of Hert, John, of London, weaver 1
5072728 2378328 2378328 defendant Bee Thomas stainer 585869 585869 Bee, Thomas, of London, stainer 2
5072729 2378328 2378328 defendant Hakelyte Thomas barber 588081 588081 Hakelyte, Thomas, of Cambridge, barber 3
5072730 2378328 2378328 defendant Wylkyns John barber 585869 585869 Wylkyns, John, of London, barber 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 8.285ms