home / cp40x

names

6 rows where case_id = 1909005

✎ 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
3645548 1909005 1909005 plaintiff Gybbons Thomas     Gybbons, Thomas 0
3645549 1909005 1909005 defendant Delahaye Brian or Urian gent 601480 601480 Delahaye, Brian or Urian, of Peterchurche, gent 0
3645550 1909005 1909005 defendant Caldecot William tailor 586208 586208 Caldecot, William, of Hereford, tailor 1
3645551 1909005 1909005 defendant Busshop Thomas armorer 588238 588238 Busshop, Thomas, of Herford, armorer 2
3645552 1909005 1909005 defendant Solers Philip gent 601481 601481 Solers, Philip, of Hentlond, gent 3
3645553 1909005 1909005 defendant Blether John husbandman 601482 601482 Blether, John, of Preston on Wye, husbandman 4

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