home / cp40x

names

7 rows where case_id = 2415544

✎ 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
5199281 2415544 2415544 plaintiff Warwick Richard earl, of   Warwick, Richard, earl, of 0
5199282 2415544 2415544 defendant Tudenham Thomas   589804 589804 Tudenham, Thomas, of Oxburgh, Norf, knight 0
5199283 2415544 2415544 defendant Damell Thomas esq 642280 642280 Damell, Thomas, of Rydon, Norf, esq 1
5199284 2415544 2415544 defendant Stafford Humphrey esq 600217 600217 Stafford, Humphrey, of Grafton, Worcs, esq 2
5199285 2415544 2415544 defendant Heydon John gent 858679 858679 Heydon, John, of Baconesthorp, Norf, gent 3
5199286 2415544 2415544 defendant Throgmerton John esq 605348 605348 Throgmerton, John, of Tewkesbury, Gloucs, esq 4
5199287 2415544 2415544 defendant Tudenham Henry esq 589804 589804 Tudenham, Henry, of Oxburgh, Norf, esq 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 13.749ms