home / cp40x

names

7 rows where case_id = 2551991

✎ 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
5625727 2551991 2551991 plaintiff Marowe William smith 585869 585869 Marowe, William, of London, smith 0
5625728 2551991 2551991 defendant Dagener or Dagenet John gent 608829 608829 Dagener or Dagenet, John, of Essex, gent 0
5625729 2551991 2551991 defendant Norton John carpenter 590032 590032 Norton, John, of Kent, carpenter 1
5625730 2551991 2551991 defendant Fordham John   717493 717493 Fordham, John, of Cambs, esq, dwelling with Bishop of Ely 2
5625731 2551991 2551991 defendant Baylly John yeoman 619282 619282 Baylly, John, of Stowe, Cams, yeoman 3
5625732 2551991 2551991 defendant Smyth Simon smith 591915 591915 Smyth, Simon, of Stratton, Beds, smith 4
5625733 2551991 2551991 defendant Barnaby John, senior esq 589790 589790 Barnaby, John, senior, of Lincs, esq 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.988ms