home / cp40x

names

6 rows where case_id = 1904585

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3631202 1904585 1904585 plaintiff Garton William     Garton, William 0
3631203 1904585 1904585 defendant Browne Henry smith 598120 598120 Browne, Henry, of Fetylworth, smith 0
3631204 1904585 1904585 defendant Strodewyk Thomas laborer 598121 598121 Strodewyk, Thomas, of Wyseborow Grene, laborer 1
3631205 1904585 1904585 defendant Munpe Thomas husbandman 598122 598122 Munpe, Thomas, of Bursam, husbandman 2
3631206 1904585 1904585 defendant Snodman John summoner 598123 598123 Snodman, John, of Pulbergh, summoner 3
3631207 1904585 1904585 defendant A Borowe William   589014 589014 A Borowe, William, of Horsham, wax chandler 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.053ms