home / cp40x

names

6 rows where case_id = 2475529

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5401602 2475529 2475529 plaintiff Herst William grocer 585869 585869 Herst, William, of London, grocer 0
5401603 2475529 2475529 defendant Hopkyns John   883555 883555 Hopkyns, John, of Dudley, taffs, nail man 0
5401604 2475529 2475529 defendant Reynold John   883556 883556 Reynold, John, of Kidderminster, Worces, cloth man 1
5401605 2475529 2475529 defendant Patryngeham William   622995 622995 Patryngeham, William, of Dudley, Staffs, nail man 2
5401606 2475529 2475529 defendant Sarvell or Sarnell William   644833 644833 Sarvell or Sarnell, William, of Dydley, nail man 3
5401607 2475529 2475529 defendant Codyngton Mathew grocer 585925 585925 Codyngton, Mathew, of Bristol, grocer 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.392ms