home / cp40x

names

6 rows where case_id = 2497221

✎ 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
5474062 2497221 2497221 plaintiff Poyntz Robert esq, formerly sheriff of Hampshire   Poyntz, Robert, esq, formerly sheriff of Hampshire 0
5474063 2497221 2497221 defendant Hardeman John husbandman 891202 891202 Hardeman, John, of Swathelyng, Hants, husbandman 0
5474064 2497221 2497221 defendant Grenehyll Thomas husbandman 795799 795799 Grenehyll, Thomas, of South Stonham, husbandman 1
5474065 2497221 2497221 defendant Dounne John yeoman 891203 891203 Dounne, John, of Shirborne St John, Hants, yeoman 2
5474066 2497221 2497221 defendant More Thomas husbandman 591744 591744 More, Thomas, of Basyng, Hants, husbandman 3
5474067 2497221 2497221 defendant Isaak John husbandman 891204 891204 Isaak, John, of Cowyche, Hants, 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 15.424ms