home / cp40x

names

6 rows where case_id = 2342788

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4952775 2342788 2342788 plaintiff Ryse Richard     Ryse, Richard 0
4952776 2342788 2342788 defendant Gurry Walter yeoman 627401 627401 Gurry, Walter, of Chestrefeld, yeoman 0
4952777 2342788 2342788 defendant Moors William miller 826686 826686 Moors, William, of Marton juxta Derby, miller 1
4952778 2342788 2342788 defendant Blage John carpenter 590605 590605 Blage, John, of Burton on Trent, Staffs, carpenter 2
4952779 2342788 2342788 defendant Osilles John laborer 757092 757092 Osilles, John, of Pencrych, laborer 3
4952780 2342788 2342788 defendant Staverdale or Stanerdale Richard yeoman 826687 826687 Staverdale or Stanerdale, Richard, of Stanston Halle, 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 13.45ms