home / cp40x

names

8 rows where case_id = 2066889

✎ 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
4118446 2066889 2066889 plaintiff Wykes Robert esq   Wykes, Robert, esq 0
4118447 2066889 2066889 defendant Tanner William yeoman 612010 612010 Tanner, William, of Dodyngton, Glos, yeoman 0
4118448 2066889 2066889 defendant Tanner John husbandman 623542 623542 Tanner, John, of Horton, Glos, husbandman 1
4118449 2066889 2066889 defendant Powell Thomas vicar of Old Sodbury, Glos, clerk   Powell, Thomas, vicar of Old Sodbury, Glos, clerk 2
4118450 2066889 2066889 defendant Witchell John husbandman 601418 601418 Witchell, John, of Wapley, Glos, husbandman 3
4118451 2066889 2066889 defendant Monk Andrew yeoman 623542 623542 Monk, Andrew, of Horton, Glos, yeoman 4
4118452 2066889 2066889 defendant Parker Thomas husbandman 615283 615283 Parker, Thomas, of Wapley, husbandman 5
4118453 2066889 2066889 defendant Parsonage Francis husbandman 658470 658470 Parsonage, Francis, of Old Sodbury, husbandman 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 14.342ms