home / cp40x

names

7 rows where case_id = 2235727

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4615073 2235727 2235727 plaintiff Estwell Richard parson of the church, in   Estwell, Richard, parson of the church, in 0
4615074 2235727 2235727 defendant (not given) John abbot of Gerondon   Gerondon, John, abbot of 0
4615075 2235727 2235727 defendant Burton Richard de another brother in the same abbey   Burton, Richard de, another brother in the same abbey 1
4615076 2235727 2235727 defendant Bosse Roger   586344 586344 Bosse, Roger, of Burton 2
4615077 2235727 2235727 defendant Barlour John   759618 759618 Barlour, John, of Loughteburgh 3
4615078 2235727 2235727 defendant Pare Roger   759618 759618 Pare, Roger, of Loughteburgh 4
4615079 2235727 2235727 defendant Baddesley William   774706 774706 Baddesley, William, of Loughteburgh or Loughborough 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 8.167ms