home / cp40x

names

7 rows where case_id = 2290193

✎ 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
4781405 2290193 2290193 plaintiff Chedder Richard esq   Chedder, Richard, esq 0
4781406 2290193 2290193 defendant Rewe John yeoman 801558 801558 Rewe, John, of Wyghtlakyngton, yeoman 0
4781407 2290193 2290193 defendant Stoke Richard husbandman 611880 611880 Stoke, Richard, of Aysshehill, husbandman 1
4781408 2290193 2290193 defendant Batte Richard husbandman 590525 590525 Batte, Richard, of North Pederton, husbandman 2
4781409 2290193 2290193 defendant Batte John husbandman 590525 590525 Batte, John, of North Pederton, husbandman 3
4781410 2290193 2290193 defendant Raaff William   590525 590525 Raaff, William, of North Pederton, groom 4
4781411 2290193 2290193 defendant Smyth John laborer 590525 590525 Smyth, John, of North Pederton, laborer 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 11.36ms