home / cp40x

names

9 rows where case_id = 2347654

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4968870 2347654 2347654 plaintiff Gladman Thomas or Wendlyngburgh   Gladman, Thomas, or Wendlyngburgh, executors of 0
4968871 2347654 2347654 plaintiff Cotton Walter     (Cotton, Walter 1
4968872 2347654 2347654 plaintiff Merbery John esq   Merbery, John, esq 2
4968873 2347654 2347654 plaintiff Gladman William     Gladman, William 3
4968874 2347654 2347654 defendant Littilbury John yeoman 674985 674985 Littilbury, John, of Strixton, yeoman 0
4968875 2347654 2347654 defendant Broke John husbandman 754510 754510 Broke, John, of Eketon, husbandman 1
4968876 2347654 2347654 defendant Warner William yeoman 828658 828658 Warner, William, of Brystoke, yeoman 2
4968877 2347654 2347654 defendant Porter John yeoman 767693 767693 Porter, John, of Assheby Mares, yeoman 3
4968878 2347654 2347654 defendant Attebrook John husbandman 767693 767693 Attebrook, John, of Assheby Mares, husbandman 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 15.856ms