home / cp40x

names

9 rows where case_id = 1907616

✎ 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
3640967 1907616 1907616 plaintiff Baret Roland     Baret, Roland 0
3640968 1907616 1907616 plaintiff Smyth Christopher     Smyth, Christopher 1
3640969 1907616 1907616 plaintiff Burton Alvered     Burton, Alvered 2
3640970 1907616 1907616 defendant Piers Edmund yeoman 593513 593513 Piers, Edmund, of Staunton, yeoman 0
3640971 1907616 1907616 defendant Sampford Richard yeoman 593513 593513 Sampford, Richard, of Staunton, yeoman 1
3640972 1907616 1907616 defendant Thomas Geoffrey yeoman 600419 600419 Thomas, Geoffrey, of Satton, yeoman 2
3640973 1907616 1907616 defendant Bury Thomas yeoman 600419 600419 Bury, Thomas, of Satton, yeoman 3
3640974 1907616 1907616 defendant Palmer Edward husbandman 600419 600419 Palmer, Edward, of Satton, husbandman 4
3640975 1907616 1907616 defendant Potter Richard yeoman 600420 600420 Potter, Richard, of Burnton, yeoman 5

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