home / cp40x

names

6 rows where case_id = 2503504

✎ 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
5495334 2503504 2503504 plaintiff Hanley or Hauley Richard     Hanley or Hauley, Richard 0
5495335 2503504 2503504 defendant Gybson William husbandman 893280 893280 Gybson, William, of Golthorp, Bolton on Derne, husbandman 0
5495336 2503504 2503504 defendant Wyghtman Robert   893281 893281 Wyghtman, Robert, of Deneby juxta Mekesburgh 1
5495337 2503504 2503504 defendant Strafford Alice widow 608265 608265 Strafford, Alice, of Derfeld, widow 2
5495338 2503504 2503504 defendant Clarell John husbandman 837716 837716 Clarell, John, of Hoton Panell, husbandman 3
5495339 2503504 2503504 defendant Norton Robert husbandman 893282 893282 Norton, Robert, of Cusworth, Sprotburgh, 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 12.347ms