home / cp40x

names

6 rows where case_id = 2505403

✎ 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
5501492 2505403 2505403 plaintiff Spylman John     Spylman, John 0
5501493 2505403 2505403 defendant Hamond William cutler 589377 589377 Hamond, William, of Thaxsted, cutler 0
5501494 2505403 2505403 defendant Lalman Thomas yeoman 586470 586470 Lalman, Thomas, of Colchester, yeoman 1
5501495 2505403 2505403 defendant Everisden William laborer 586312 586312 Everisden, William, of Walden, laborer 2
5501496 2505403 2505403 defendant Juste Thomas   589376 589376 Juste, Thomas, of Thaxstede, paten maker 3
5501497 2505403 2505403 defendant Herde John, senior sawyer 597727 597727 Herde, John, senior, of Asshedon, sawyer 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 22.86ms