home / cp40x

names

6 rows where case_id = 1938207

✎ 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
3738337 1938207 1938207 plaintiff Mokeson William     Mokeson, William 0
3738338 1938207 1938207 defendant Harryson John butcher 595368 595368 Harryson, John, of Halyfax, butcher 0
3738339 1938207 1938207 defendant Barestewe Richard butcher 595368 595368 Barestewe, Richard, of Halyfax, butcher 1
3738340 1938207 1938207 defendant Robynson John husbandman 620905 620905 Robynson, John, of Chekyngley, husbandman 2
3738341 1938207 1938207 defendant Kelyngbeke Thomas butcher 586887 586887 Kelyngbeke, Thomas, of Wakefeld, butcher 3
3738342 1938207 1938207 defendant Skamonden John butcher 620906 620906 Skamonden, John, of Huddesfeld, butcher 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 21.262ms