home / cp40x

names

6 rows where case_id = 2401208

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5150253 2401208 2401208 plaintiff fitz William John     fitz William, John 0
5150254 2401208 2401208 defendant Hemburgh William husbandman 594567 594567 Hemburgh, William, of Drax, husbandman 0
5150255 2401208 2401208 defendant Wadman William yeoman 586093 586093 Wadman, William, of Selby Water Houses, yeoman 1
5150256 2401208 2401208 defendant Merfeld William husbandman 642464 642464 Merfeld, William, of Barleby, husbandman 2
5150257 2401208 2401208 defendant Croxdale Hugh husbandman 853433 853433 Croxdale, Hugh, of Barlelby, husbandman 3
5150258 2401208 2401208 defendant Ward John husbandman 853434 853434 Ward, John, of Drax, jun, 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 14.312ms