home / cp40x

names

6 rows where case_id = 1911038

✎ 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
3652228 1911038 1911038 plaintiff Turnour Richard     Turnour, Richard 0
3652229 1911038 1911038 defendant Smarte John husbandman 588273 588273 Smarte, John, of Stowmarket, husbandman 0
3652230 1911038 1911038 defendant Symonde Richard sherman 588273 588273 Symonde, Richard, of Stowmarket, sherman 1
3652231 1911038 1911038 defendant Cokerell Walter husbandman 601160 601160 Cokerell, Walter, of Hawley, husbandman 2
3652232 1911038 1911038 defendant Best Thomas laborer 588273 588273 Best, Thomas, of Stowmarket, laborer 3
3652233 1911038 1911038 defendant Wyrthe Robert husbandman 596906 596906 Wyrthe, Robert, of Newton, husbandman 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 8.074ms