home / cp40x

names

7 rows where case_id = 2343731

✎ 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
4955898 2343731 2343731 plaintiff Tolson Robert     Tolson, Robert 0
4955899 2343731 2343731 defendant Dyxson John yeoman 603977 603977 Dyxson, John, of Cokermouth, yeoman 0
4955900 2343731 2343731 defendant Richardson John yeoman 617621 617621 together with Richardson, John, of Loweswater, yeoman 1
4955901 2343731 2343731 defendant Colt Thomas yeoman 635763 635763 Colt, Thomas, of Salkeld, yeoman 2
4955902 2343731 2343731 defendant Walker Thomas yeoman 768715 768715 Walker, Thomas, of Dystyngton, yeoman 3
4955903 2343731 2343731 defendant Peresson John yeoman 617621 617621 Peresson, John, of Loweswater, yeoman 4
4955904 2343731 2343731 defendant Dene Henry parson of Dent   Dene, Henry, parson of Dent 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 9.871ms