home / cp40x

names

6 rows where case_id = 1911898

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3655243 1911898 1911898 plaintiff Blower William     Blower, William 0
3655244 1911898 1911898 defendant Grymston Henry husbandman 599342 599342 Grymston, Henry, of Stokbury, husbandman 0
3655245 1911898 1911898 defendant Master Robert husbandman 586461 586461 Master, Robert, of Mepeham, husbandman 1
3655246 1911898 1911898 defendant May Thomas   603646 603646 May, Thomas, of Aysshe by Meopham 2
3655247 1911898 1911898 defendant Bunton William, junior husbandman 599342 599342 Bunton, William, junior, of Stokbury, husbandman 3
3655248 1911898 1911898 defendant Droles Yedon laborer 593555 593555 Droles, Yedon, of Chatham, laborer 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 13.837ms