home / cp40x

names

5 rows where case_id = 2162094

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4392433 2162094 2162094 plaintiff Fell Hugh     Fell, Hugh 0
4392434 2162094 2162094 defendant Leighton William esq 617390 617390 Leighton,William, of Stretton, Salop, esq 0
4392435 2162094 2162094 defendant Richardes Edward gent 749963 749963 Richardes, Edward, of Mydletowne, Awberbury, Salop, gent 1
4392436 2162094 2162094 defendant Dorington John esq 585869 585869 Dorington, John, of London, esq 2
4392437 2162094 2162094 defendant Born or Bourne Francis gent 585869 585869 Born or Bourne, Francis, of London, or of Upnoure, Finsbury, Kent, gent 3

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