home / cp40x

names

5 rows where case_id = 2076089

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4144066 2076089 2076089 plaintiff Best Richard     Best, Richard 0
4144067 2076089 2076089 defendant Thomas alias Hancocke Nicholas yeoman 667940 667940 Thomas alias Hancocke, Nicholas, of Wellington, yeoman 0
4144068 2076089 2076089 defendant Redwoode Henry husbandman 658526 658526 Redwoode, Henry, of West Buckland, husbandman 1
4144069 2076089 2076089 defendant Veng or Vinges George husbandman 667940 667940 Veng or Vinges, George, of Wellington, husbandman 2
4144070 2076089 2076089 defendant Reede Martin husbandman 667940 667940 Reede, Martin, of Wellington, husbandman 3

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