home / cp40x

names

7 rows where case_id = 1954275

✎ 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
3788717 1954275 1954275 plaintiff Staveley Thomas     Staveley, Thomas 0
3788718 1954275 1954275 defendant Basforth John gent 597744 597744 Basforth, John, of Thormonby, gent 0
3788719 1954275 1954275 defendant Layton Thomas gent 629512 629512 Layton, Thomas, of Thornton in the Strete, gent 1
3788720 1954275 1954275 defendant Deddesworth Peter gent 613004 613004 Deddesworth, Peter, of Massam, gent 2
3788721 1954275 1954275 defendant Gardyner William clerk 629221 629221 Gardyner, William, of Aldburgh, clerk 3
3788722 1954275 1954275 defendant Wharlton Christopher yeoman 629513 629513 Wharlton, Christopher, of Emmersyde, Swaldaill, yeoman 4
3788723 1954275 1954275 defendant Croft William yeoman 629514 629514 Croft, William, of West Wytton, yeoman 5

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