home / cp40x

names

6 rows where case_id = 1922296

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3687606 1922296 1922296 plaintiff Clyfford Robert     Clyfford, Robert 0
3687607 1922296 1922296 defendant Hankok John yeoman 596671 596671 Hankok, John, of Wykham Market, yeoman 0
3687608 1922296 1922296 defendant Downyng John baker 585947 585947 Downyng, John, of Hadley, baker 1
3687609 1922296 1922296 defendant Pellykan John woodsetter 585947 585947 Pellykan, John, of Hadley, woodsetter 2
3687610 1922296 1922296 defendant Wyng Edmund laborer 611257 611257 Wyng, Edmund, of Welsted, laborer 3
3687611 1922296 1922296 defendant Heyward William husbandman 591627 591627 Heyward, William, of Ofton, 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 20.926ms