home / cp40x

names

8 rows where case_id = 2410399

✎ 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
5181729 2410399 2410399 plaintiff Caps Robert esq   Caps, Robert, esq 0
5181730 2410399 2410399 defendant Brode Thomas yeoman 595579 595579 Brode, Thomas, of Netherbury, yeoman 0
5181731 2410399 2410399 defendant Sele Richard husbandman 595579 595579 Sele, Richard, of Netherbury, husbandman 1
5181732 2410399 2410399 defendant Hancok John husbandman 625103 625103 Hancok, John, of Adlyngton, husbandman 2
5181733 2410399 2410399 defendant Stanbrigge John yeoman 602295 602295 Stanbrigge, John, of Chydeok, yeoman 3
5181734 2410399 2410399 defendant Byrche John yeoman 802947 802947 Byrche, John, of Holdyche, Devon, yeoman 4
5181735 2410399 2410399 defendant Nevale John yeoman 606563 606563 Nevale, John, of Holdyche, yeoman 5
5181736 2410399 2410399 defendant (not given) William Bocher   Bocher, William, of 6

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 16.051ms