home / cp40x

names

9 rows where case_id = 2525810

✎ 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
5570023 2525810 2525810 plaintiff Hill Edmund     Hill, Edmund 0
5570024 2525810 2525810 plaintiff Hill Thomas     Hill, Thomas 1
5570025 2525810 2525810 defendant Coke Alan yeoman 593142 593142 Coke, Alan, of Tunstall, yeoman 0
5570026 2525810 2525810 defendant Coke John yeoman 586634 586634 Coke, John, of Hallesworth, yeoman 1
5570027 2525810 2525810 defendant Whyte Robert yeoman 593142 593142 Whyte, Robert, of Tunstall, yeoman 2
5570028 2525810 2525810 defendant Trunte John yeoman 626395 626395 Trunte, John, of Blaksale, yeoman 3
5570029 2525810 2525810 defendant Osbern John weaver 626395 626395 Osbern, John, of Blaksale, weaver 4
5570030 2525810 2525810 defendant Gardener Edmund yeoman 588924 588924 Gardener, Edmund, of Farnham, yeoman 5
5570031 2525810 2525810 defendant Lunney Robert yeoman 626395 626395 Lunney, Robert, of Blaksale, yeoman 6

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