home / cp40x

names

6 rows where case_id = 2522711

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5559379 2522711 2522711 plaintiff Roper Robert     Roper, Robert 0
5559380 2522711 2522711 defendant Whytyng John draper 590317 590317 Whytyng, John, of Dorchester, Dorset, draper 0
5559381 2522711 2522711 defendant Garlond John merchant 589851 589851 Garlond, John, of Dorchester, merchant 1
5559382 2522711 2522711 defendant Helyer John yeoman 596016 596016 Helyer, John, of Bampton, Devon, yeoman 2
5559383 2522711 2522711 defendant Pessyn Angel merchant 763491 763491 Pessyn, Angel, of Mountagu, merchant 3
5559384 2522711 2522711 defendant Snellyng Robert merchant 589851 589851 Snellyng, Robert, of Dorchester, merchant 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 8.412ms