home / cp40x

names

9 rows where case_id = 2003955

✎ 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
3940868 2003955 2003955 plaintiff Sulyard John esq   Sulyard, John, esq 0
3940869 2003955 2003955 plaintiff Moundford Osbert esq   Moundford, Osbert, esq 1
3940870 2003955 2003955 defendant Danyell John gent 622534 622534 Danyell, John, of Appilton, gent 0
3940871 2003955 2003955 defendant Stone Richard yeoman 588420 588420 Stone, Richard, of Holme, yeoman 1
3940872 2003955 2003955 defendant Drake John, junior husbandman 656583 656583 Drake, John, junior, of Wrymegay, husbandman 2
3940873 2003955 2003955 defendant Hardy Robert yeoman 597883 597883 Hardy, Robert, of Hycham, yeoman 3
3940874 2003955 2003955 defendant Wylcokes Thomas yeoman 592089 592089 Wylcokes, Thomas, of Shuldeham, yeoman 4
3940875 2003955 2003955 defendant Morell John tanner 616257 616257 Morell, John, of Swaffham, tanner 5
3940876 2003955 2003955 defendant Morell Robert tanner 616257 616257 Morell, Robert, of Swaffham, tanner 6

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 15.266ms