home / cp40x

names

6 rows where case_id = 1976619

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3859345 1976619 1976619 plaintiff Chaffyn Thomas mercer 586859 586859 Chaffyn, Thomas, of Salisbury, mercer 0
3859346 1976619 1976619 defendant Francum Richard mercer 641088 641088 Francum, Richard, of Dunstare, Soms, mercer 0
3859347 1976619 1976619 defendant Bagot Henry yeoman or innholder 601651 601651 Bagot, Henry, of Marleborough, yeoman or innholder 1
3859348 1976619 1976619 defendant Baker William yeoman 641089 641089 Baker, William, of Castelcare, Soms, yeoman 2
3859349 1976619 1976619 defendant Baker Elizabeth Elizabeth, of Castelcary, widow   Elizabeth his wife, alias Hyll, Elizabeth, of Castelcary, widow 3
3859350 1976619 1976619 defendant Bowman Robert yeoman 600392 600392 Bowman, Robert, of Sherborne, Dorset, yeoman 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 18.97ms