home / cp40x

names

6 rows where case_id = 2021299

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3990334 2021299 2021299 plaintiff Betham Edward gent   Betham, Edward, gent 0
3990335 2021299 2021299 defendant Grenevylde Richard gent 592423 592423 Grenevylde, Richard, of Garsyngton, Oxon, gent 0
3990336 2021299 2021299 defendant Burges William yeoman 597678 597678 Burges, William, of Garsyngton, yeoman 1
3990337 2021299 2021299 defendant Frankeleyn William yeoman 597678 597678 Frankeleyn, William, of Garsyngton, yeoman 2
3990338 2021299 2021299 defendant Seere John laborer 588802 588802 Seere, John, of Wotton, laborer 3
3990339 2021299 2021299 defendant Surr James laborer 588802 588802 Surr, James, of Wotton, laborer 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 15.351ms