home / cp40x

names

7 rows where case_id = 1867253

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3598800 1867253 1867253 plaintiff Strelley or Styrley Nicholas knight   Strelley or Styrley, Nicholas, knight, executrix of 0
3598801 1867253 1867253 plaintiff Strelley or Styrley Margaret     Strelley or Styrley, Margaret 1
3598802 1867253 1867253 defendant Yonge Thomas haberdasher 585869 585869 Yonge, Thomas, of London, haberdasher 0
3598803 1867253 1867253 defendant Bokesley John esq 585869 585869 Bokesley, John, of London, esq 1
3598804 1867253 1867253 defendant Woley Robert draper 589800 589800 Woley, Robert, of Warsop, Notts, draper 2
3598805 1867253 1867253 defendant Shyre Thomas yeoman 586608 586608 Shyre, Thomas, of Newerk, Notts, yeoman 3
3598806 1867253 1867253 defendant Cook Richard tailor 585869 585869 Cook, Richard, of London, tailor 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 14.912ms