home / cp40x

names

8 rows where case_id = 1903607

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3627982 1903607 1903607 plaintiff Bugh or Burgh Richard clerk   Bugh or Burgh, Richard, clerk 0
3627983 1903607 1903607 defendant Warde Christopher   597293 597293 Warde, Christopher, of Gyseley, knight 0
3627984 1903607 1903607 defendant Plompton Robert gent 597291 597291 Plompton, Robert, of Plomton, gent 1
3627985 1903607 1903607 defendant Batte Nicholas chaplain 597292 597292 Batte, Nicholas, of Geyseley, chaplain 2
3627986 1903607 1903607 defendant Warde John yeoman 597293 597293 Warde, John, of Gyseley, yeoman 3
3627987 1903607 1903607 defendant Knollis Ralph yeoman 597018 597018 Knollis, Ralph, of Plompton, yeoman 4
3627988 1903607 1903607 defendant Brown William yeoman 597293 597293 Brown, William, of Gyseley, yeoman 5
3627989 1903607 1903607 defendant Brown Thomas yeoman 597293 597293 Brown, Thomas, of Gyseley, 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 14.194ms