home / cp40x

names

8 rows where case_id = 2403934

✎ 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
5159678 2403934 2403934 plaintiff Salkeld Richard esq, formerly sheriff of Cumberland   Salkeld, Richard, esq, formerly sheriff of Cumberland 0
5159679 2403934 2403934 defendant Bulloke William husbandman 611259 611259 Bulloke, William, of Ceton, husbandman 0
5159680 2403934 2403934 defendant Stele William husbandman 611259 611259 Stele, William, of Ceton, husbandman 1
5159681 2403934 2403934 defendant Robynson William husbandman 613865 613865 Robynson, William, of Seton, husbandman 2
5159682 2403934 2403934 defendant Whelewright Thomas husbandman 611259 611259 Whelewright, Thomas, of Ceton, husbandman 3
5159683 2403934 2403934 defendant Benton John husbandman 611259 611259 Benton, John, of Ceton, husbandman 4
5159684 2403934 2403934 defendant Maknell John husbandman 611259 611259 Maknell, John, of Ceton, husbandman 5
5159685 2403934 2403934 defendant Maknelle Peter husbandman 611259 611259 Maknelle, Peter, of Ceton, husbandman 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 7.404ms