home / cp40x

names

6 rows where case_id = 2260223

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4682748 2260223 2260223 plaintiff (not given) Nicholas abbot of Nyweham   Nyweham, Nicholas, abbot of, on his own account 0
4682749 2260223 2260223 defendant (not given) Robert abbot of Abbotysbury   Abbotysbury, Dors, Robert, abbot of 0
4682750 2260223 2260223 defendant Cokwyll Ralph yeoman 783567 783567 Cokwyll, Ralph, of Abbotysbury, Dors, yeoman 1
4682751 2260223 2260223 defendant Walshe John yeoman 653669 653669 Walshe, John, of Dorchester, Dors, yeoman 2
4682752 2260223 2260223 defendant Hille Richard yeoman 783568 783568 Hille, Richard, of Waymouth, Dors, yeoman 3
4682753 2260223 2260223 defendant Sandewyche William yeoman 775369 775369 Sandewyche, William, of Seton, Devon, yeoman 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.087ms