home / cp40x

names

6 rows where case_id = 2438683

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5278086 2438683 2438683 plaintiff Barton Thomas     Barton, Thomas 0
5278087 2438683 2438683 defendant Cok Richard husbandman 600665 600665 Cok, Richard, of Whyle, husbandman 0
5278088 2438683 2438683 defendant Smyth Richard husbandman 600665 600665 Smyth, Richard, of Whyle, husbandman 1
5278089 2438683 2438683 defendant Tyler Richard tiler 612917 612917 Tyler, Richard, of Hethe, tiler 2
5278090 2438683 2438683 defendant Robertys William husbandman 590059 590059 Robertys, William, of Byford, husbandman 3
5278091 2438683 2438683 defendant Bourton John yeoman 867821 867821 Bourton, John, of Wyggemore, March of Wales, 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 17.056ms