home / cp40x

names

7 rows where case_id = 1872874

✎ 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
3616766 1872874 1872874 plaintiff Ekynton William     Ekynton, William 0
3616767 1872874 1872874 defendant Sklatter William yeoman 597874 597874 Sklatter, William, of Stowe St Edward, yeoman 0
3616768 1872874 1872874 defendant Somerby John gent 728616 728616 Somerby, John, of Shipton under Whichewode, Oxon, gent 1
3616769 1872874 1872874 defendant Somerby Robert draper 586842 586842 Somerby, Robert, of Cirencester, draper 2
3616770 1872874 1872874 defendant Aleyn Thomas woolman 597874 597874 Aleyn, Thomas, of Stowe St Edward, woolman 3
3616771 1872874 1872874 defendant Warde John tailor 597874 597874 Warde, John, of Stowe St Edward, tailor 4
3616772 1872874 1872874 defendant Lotte John tailor 597874 597874 Lotte, John, of Stowe St Edward, tailor 5

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