home / cp40x

names

7 rows where case_id = 1868783

✎ 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
3603555 1868783 1868783 plaintiff Duffeld William clerk   Duffeld, William, clerk 0
3603556 1868783 1868783 defendant Personice Thomas husbandman 587648 587648 Personice, Thomas, of Lydgate, husbandman 0
3603557 1868783 1868783 defendant Meyre John barker 590415 590415 Meyre, John, of Mildenhale, barker 1
3603558 1868783 1868783 defendant B John barker   B, John, barker 2
3603559 1868783 1868783 defendant Bifeld John weaver 591165 591165 Bifeld, John, of Stow Market, weaver 3
3603560 1868783 1868783 defendant Smyth Richard clerk 591166 591166 Smyth, Richard, of Barnham St Martin, clerk 4
3603561 1868783 1868783 defendant Borough Thomas barker 591165 591165 Borough, Thomas, of Stow Market, barker 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 15.705ms