home / cp40x

names

6 rows where case_id = 2372630

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5053426 2372630 2372630 plaintiff Barley William merchant 585936 585936 Barley, William, of Norwich, merchant 0
5053427 2372630 2372630 defendant Hunt Thomas dyer 585907 585907 Hunt, Thomas, of Bishops Lenn, dyer 0
5053428 2372630 2372630 defendant Denaunt or Devaunt William dyer 585907 585907 Denaunt or Devaunt, William, of Bishops Lenn, dyer 1
5053429 2372630 2372630 defendant Rogers John   607836 607836 Rogers, John, of Sloley, worsted weaver 2
5053430 2372630 2372630 defendant Smyth Robert smith 613981 613981 Smyth, Robert, of Lytcham, smith 3
5053431 2372630 2372630 defendant Rogers Ralph   607836 607836 Rogers, Ralph, of Sloley, worsted weaver 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.195ms