home / cp40x

names

6 rows where case_id = 1945838

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3762248 1945838 1945838 plaintiff Gardener William grocer 585869 585869 Gardener, William, of London, grocer 0
3762249 1945838 1945838 defendant Hause or Hanse Robert chapman 587702 587702 Hause or Hanse, Robert, of Andever, Hants, chapman 0
3762250 1945838 1945838 defendant Alen John chapman 625112 625112 Alen, John, of St Mary Crey, Kent, chapman 1
3762251 1945838 1945838 defendant Tykkyll Ralph yeoman of the guard   Tykkyll, Ralph, yeoman of the guard 2
3762252 1945838 1945838 defendant Catryk Robert chapman 609578 609578 Catryk, Robert, of Gylford, Surrey, chapman 3
3762253 1945838 1945838 defendant Yoman Thomas capper 586175 586175 Yoman, Thomas, of Canterbury, capper 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 10.255ms