home / cp40x

names

7 rows where case_id = 2527765

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5576720 2527765 2527765 plaintiff Turnay John     Turnay, John 0
5576721 2527765 2527765 plaintiff Barnaby Henry     Barnaby, Henry 1
5576722 2527765 2527765 defendant Neweton William yeoman 769906 769906 Neweton, William, of Torkesay, yeoman 0
5576723 2527765 2527765 defendant Chesshyr Richard clerk 698944 698944 Chesshyr, Richard, of Wilberton, clerk 1
5576724 2527765 2527765 defendant Benett Alan yeoman 595515 595515 Benett, Alan, of Fenton, yeoman 2
5576725 2527765 2527765 defendant Kelson Thomas yeoman 757630 757630 Kelson, Thomas, of Kelsay, yeoman 3
5576726 2527765 2527765 defendant Heynton Thomas yeoman 773885 773885 Heynton, Thomas, of Oresby, 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.879ms