home / cp40x

names

7 rows where case_id = 1930853

✎ 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
3714560 1930853 1930853 plaintiff Betson Anne widow of Betson, Thomas   Betson, Anne, widow of Betson, Thomas, administrator of 0
3714561 1930853 1930853 plaintiff Butler William     Butler, William 1
3714562 1930853 1930853 defendant Samford John weaver 590141 590141 Samford, John, of Dursley, weaver 0
3714563 1930853 1930853 defendant Grenowe David tailor 590141 590141 Grenowe, David, of Dursley, tailor 1
3714564 1930853 1930853 defendant Smyth John butcher 593634 593634 Smyth, John, of Berkeley, butcher 2
3714565 1930853 1930853 defendant Prycke William husbandman 616470 616470 Prycke, William, of Etlowe, Forest of Deane, husbandman 3
3714566 1930853 1930853 defendant Frynde Robert butcher 616471 616471 Frynde, Robert, of Blackney, butcher 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 14.373ms