home / cp40x

names

6 rows where case_id = 1976622

✎ 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
3859355 1976622 1976622 plaintiff Chafyn Thomas mercer 586859 586859 Chafyn, Thomas, of Salisbury, mercer 0
3859356 1976622 1976622 defendant Francum Richard mercer 641088 641088 Francum, Richard, of Dunstare, Soms, mercer 0
3859357 1976622 1976622 defendant Bagott Henry yeoman 590410 590410 Bagott, Henry, of Marleburgh, yeoman 1
3859358 1976622 1976622 defendant Baker William yeoman 641089 641089 Baker, William, of Castelcare, Soms, yeoman 2
3859359 1976622 1976622 defendant Baker Elizabeth Elizabeth, of Castelcary, widow   Elizabeth his wife, alias Hyll, Elizabeth, of Castelcary, widow 3
3859360 1976622 1976622 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 13.314ms