home / cp40x

names

6 rows where case_id = 1912200

✎ 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
3656242 1912200 1912200 plaintiff Canon George   603922 603922 Canon, George, of Stansted Mountfichet 0
3656243 1912200 1912200 defendant Gatwerde John husbandman 603923 603923 Gatwerde, John, of Elshnam, husbandman 0
3656244 1912200 1912200 defendant Elkyn Thomas laborer 603924 603924 Elkyn, Thomas, of Henham, laborer 1
3656245 1912200 1912200 defendant spycer John husbandman 603924 603924 spycer, John, of Henham, husbandman 2
3656246 1912200 1912200 defendant Hichman John husbandman 603924 603924 Hichman, John, of Henham, husbandman 3
3656247 1912200 1912200 defendant Lokyn Thomas butcher 603925 603925 Lokyn, Thomas, of Henam, 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 6.769ms