home / cp40x

names

7 rows where case_id = 2440847

✎ 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
5285704 2440847 2440847 plaintiff Hansard Robert     Hansard, Robert 0
5285705 2440847 2440847 defendant Fenby John laborer 868700 868700 Fenby, John, of Clentham, laborer 0
5285706 2440847 2440847 defendant Danot or Davot John husbandman 587452 587452 Danot or Davot, John, of Ouresby, husbandman 1
5285707 2440847 2440847 defendant Cad or Oad Thomas butcher 612183 612183 Cad or Oad, Thomas, of Market Rasyn, butcher 2
5285708 2440847 2440847 defendant Walesby John butcher 612183 612183 Walesby, John, of Market Rasyn, butcher 3
5285709 2440847 2440847 defendant Couper Thomas husbandman 647970 647970 Couper, Thomas, of Glentham, husbandman 4
5285710 2440847 2440847 defendant Elston Robert husbandman 644749 644749 Elston, Robert, of Thoresway, husbandman 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.716ms