home / cp40x

names

5 rows where case_id = 2490475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5451982 2490475 2490475 plaintiff Stalworth Walter tailor 585869 585869 Stalworth, Walter, of London, tailor 0
5451983 2490475 2490475 defendant Shirburn Richard clerk & canon in Lichfield cathedral 585869 585869 Shirburn, Richard, of London, clerk & canon in Lichfield cathedral 0
5451984 2490475 2490475 defendant Hals Robert gent 800935 800935 Hals, Robert, of Heywode, Staffs, gent 1
5451985 2490475 2490475 defendant Ays_ William esq 585869 585869 Ays_, William, of London, esq 2
5451986 2490475 2490475 defendant Calw_ Christopher clerk 585869 585869 Calw_, Christopher, of London, clerk 3

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