home / cp40x

names

7 rows where case_id = 1956546

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3795772 1956546 1956546 plaintiff Davy Robert     Davy, Robert 0
3795773 1956546 1956546 defendant Stone John cooper 610847 610847 Stone, John, of Trowys, cooper 0
3795774 1956546 1956546 defendant Smuth John dyer 586362 586362 Smuth, John, of Bungey, Suff, dyer 1
3795775 1956546 1956546 defendant Johnson Richard husbandman 586386 586386 Johnson, Richard, of Weston, husbandman 2
3795776 1956546 1956546 defendant Clerke Robert husbandman 630675 630675 Clerke, Robert, of Bestwyke in Flegge, husbandman 3
3795777 1956546 1956546 defendant Hughlet John (legal representative)   Hughlet, John, executrix of 4
3795778 1956546 1956546 defendant Hughlet Elizabeth widow 585869 585869 Hughlet, Elizabeth, of London, widow 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 5.9ms