home / cp40x

names

6 rows where case_id = 2279141

✎ 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
4745308 2279141 2279141 plaintiff Gage Richard merchant 586859 586859 Gage, Richard, of Salisbury, merchant 0
4745309 2279141 2279141 defendant Draper John, junior draper 652489 652489 Draper, John, junior, of Walden, Herts, draper 0
4745310 2279141 2279141 defendant Markus William draper 795274 795274 Markus, William, of Epyswych or Ipswich, Suff, draper 1
4745311 2279141 2279141 defendant Ryevyn John draper 795275 795275 Ryevyn, John, of Suthbery, Suff, draper 2
4745312 2279141 2279141 defendant Penycryche William weaver 586859 586859 Penycryche, William, of Salisbury, weaver 3
4745313 2279141 2279141 defendant Move or Mone John   604131 604131 Move or Mone, John, of Winchester, Hants, tapestry maker 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 14.897ms