home / cp40x

names

8 rows where case_id = 1903250

✎ 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
3626852 1903250 1903250 plaintiff Baskervile James esq   Baskervile, James, esq 0
3626853 1903250 1903250 defendant Dansey or Dausey John, senior gent 596994 596994 Dansey or Dausey, John, senior, of Brysnhope, gent 0
3626854 1903250 1903250 defendant Morys Agnes widow 586208 586208 Morys, Agnes, of Hereford, widow 1
3626855 1903250 1903250 defendant Dansey or Dausey John, junior gent 596994 596994 Dansey or Dausey, John, junior, of Brysnhope, gent 2
3626856 1903250 1903250 defendant Cleyton William gent 585869 585869 Cleyton, William, of London, gent 3
3626857 1903250 1903250 defendant Gwynne Hugh yeoman 596995 596995 Gwynne, Hugh, of Kenchestre, yeoman 4
3626858 1903250 1903250 defendant Lucas David husbandman 596996 596996 Lucas, David, of Brynshop, husbandman 5
3626859 1903250 1903250 defendant Wheth David husbandman 596997 596997 Wheth, David, of Over Umshall, husbandman 6

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 25.741ms