home / cp40x

names

8 rows where case_id = 1974816

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3853776 1974816 1974816 plaintiff Staveley Thomas     Staveley, Thomas 0
3853777 1974816 1974816 defendant Lobley Richard yeoman 617606 617606 Lobley, Richard, of Midlam, yeoman 0
3853778 1974816 1974816 defendant Lobley Adam yeoman 640190 640190 Lobley, Adam, of Est Witton, yeoman 1
3853779 1974816 1974816 defendant Helwyke Thomas yeoman 601376 601376 Helwyke, Thomas, of Lenton, yeoman 2
3853780 1974816 1974816 defendant Williamsom Thomas yeoman 640191 640191 Williamsom, Thomas, of Douwhaytt, yeoman 3
3853781 1974816 1974816 defendant Gartyng William yeoman 640192 640192 Gartyng, William, of Hewe Warter, yeoman 4
3853782 1974816 1974816 defendant Wharton Christopher yeoman 640193 640193 Wharton, Christopher, of Corneside in Swaildaill, yeoman 5
3853783 1974816 1974816 defendant Clapham William gent 640194 640194 Clapham, William, of Middysmore, gent 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 13.76ms