home / cp40x

names

6 rows where case_id = 2017852

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3980677 2017852 2017852 plaintiff Plumtre Nicholas gent 598301 598301 Plumtre, Nicholas, of Inner Temple, gent 0
3980678 2017852 2017852 defendant Lawes Henry gent 585869 585869 Lawes, Henry, of London, or of Clements Inn, Middx, gent 0
3980679 2017852 2017852 defendant Farmer Elizabeth widow 666348 666348 Farmer, Elizabeth, of Ratclyffe Culye, Leics, widow 1
3980680 2017852 2017852 defendant Fenton John fishmonger 666349 666349 Fenton, John, of Staumforde, Lincs, fishmonger 2
3980681 2017852 2017852 defendant Arden Francis yeoman 666350 666350 Arden, Francis, of Redmyll, Leics, yeoman 3
3980682 2017852 2017852 defendant Marston William husbandman 666351 666351 Marston, William, of Leics, 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 14.709ms