home / cp40x

names

8 rows where case_id = 2371405

✎ 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
5049232 2371405 2371405 plaintiff Skelton John     Skelton, John 0
5049233 2371405 2371405 defendant Forster Hugh gent 593911 593911 Forster, Hugh, of Penreth, gent 0
5049234 2371405 2371405 defendant Bustowe Richard gent 840052 840052 Bustowe, Richard, of Middilstowe, gent 1
5049235 2371405 2371405 defendant Haucer or Hancer Thomas husbandman 763385 763385 Haucer or Hancer, Thomas, of Lasyngby, husbandman 2
5049236 2371405 2371405 defendant Bateman William husbandman 763385 763385 Bateman, William, of Lasyngby, husbandman 3
5049237 2371405 2371405 defendant Abbot William yeoman 593911 593911 Abbot, William, of Penreth, yeoman 4
5049238 2371405 2371405 defendant Clyfton Thomas yeoman 593911 593911 Clyfton, Thomas, of Penreth, yeoman 5
5049239 2371405 2371405 defendant Willelson Thom     Willelson, Thom 6

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.092ms