home / cp40x

names

6 rows where case_id = 2534791

✎ 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
5599673 2534791 2534791 plaintiff Gybson John merchant 585869 585869 Gybson, John, of London, merchant 0
5599674 2534791 2534791 defendant Huse William gent 904479 904479 Huse, William, of Duffylde, Yorks, gent 0
5599675 2534791 2534791 defendant West William gent 585869 585869 West, William, of London, gent 1
5599676 2534791 2534791 defendant Gere William yeoman 777941 777941 Gere, William, of Hamphill, Beds, yeoman 2
5599677 2534791 2534791 defendant Lynne John yeoman 904480 904480 Lynne, John, of Keteryng, Northumb, yeoman 3
5599678 2534791 2534791 defendant Preston John yeoman 598209 598209 Preston, John, of Keteryng, yeoman 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.306ms