home / cp40x

names

7 rows where case_id = 1903199

✎ 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
3626706 1903199 1903199 plaintiff Barfote John, junior     Barfote, John, junior 0
3626707 1903199 1903199 defendant Burton John clerk 596942 596942 Burton, John, of Nedgyng, clerk 0
3626708 1903199 1903199 defendant Downyng Hugh husbandman 596943 596943 Downyng, Hugh, of Wadyngfeld, husbandman 1
3626709 1903199 1903199 defendant Smyth John carpenter 592109 592109 Smyth, John, of Kersey, carpenter 2
3626710 1903199 1903199 defendant Cardenall William husbandman 596944 596944 Cardenall, William, of Wenham, husbandman 3
3626711 1903199 1903199 defendant Warde Robert burcher 585947 585947 Warde, Robert, of Hadley, burcher 4
3626712 1903199 1903199 defendant Dey John carrier 585947 585947 Dey, John, of Hadley, carrier 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 18.211ms