home / cp40x

names

6 rows where case_id = 2360402

✎ 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
5012148 2360402 2360402 plaintiff Wylton Stephen clerk & master   Wylton, Stephen, clerk & master 0
5012149 2360402 2360402 defendant Middelton John esq 853298 853298 Middelton, John, of Belsowe, Northumberland, esq 0
5012150 2360402 2360402 defendant Myddelton William esq 766919 766919 Myddelton, William, of Belsowe, esq 1
5012151 2360402 2360402 defendant Myddelton Richard esq 766919 766919 Myddelton, Richard, of Belsowe, esq 2
5012152 2360402 2360402 defendant Oliver Richard yeoman 644035 644035 Oliver, Richard, of Great Dunmowe, Essex, yeoman 3
5012153 2360402 2360402 defendant Dallyng John clerk 593796 593796 Dallyng, John, of Salisbury, Wilts, clerk 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 17.001ms