home / cp40x

names

6 rows where case_id = 2424598

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5230734 2424598 2424598 plaintiff Beauchamp Richard bishop of Salisbury   Beauchamp, Richard, bishop of Salisbury 0
5230735 2424598 2424598 defendant Lyllborn John gent 861990 861990 Lyllborn, John, of Southe Brome, gent 0
5230736 2424598 2424598 defendant Long Henry husbandman 602466 602466 Long, Henry, of Semyngton, husbandman 1
5230737 2424598 2424598 defendant Hendelove William merchant 861991 861991 Hendelove, William, of Devisez, merchant 2
5230738 2424598 2424598 defendant Gilbert Richard smith 602405 602405 Gilbert, Richard, of South Brome, smith 3
5230739 2424598 2424598 defendant Dokeman John yeoman 602405 602405 Dokeman, John, of South Brome, 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 14.582ms