home / cp40x

names

7 rows where case_id = 2367882

✎ 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
5037632 2367882 2367882 plaintiff Wolf John     Wolf, John 0
5037633 2367882 2367882 defendant Heyward Richard shipman 588486 588486 Heyward, Richard, of Wynterton, shipman 0
5037634 2367882 2367882 defendant Willyams Richard butcher 591888 591888 Willyams, Richard, of Couteshale, butcher 1
5037635 2367882 2367882 defendant atte Welle Adam husbandman 596907 596907 atte Welle, Adam, of Ludham, husbandman 2
5037636 2367882 2367882 defendant Berwyk Peter merchant 586470 586470 Berwyk, Peter, of Colchester, merchant 3
5037637 2367882 2367882 defendant atte Wode John merchant 586470 586470 atte Wode, John, of Colchester, merchant 4
5037638 2367882 2367882 defendant Dam Robert husbandman 587059 587059 Dam, Robert, of Stalham, husbandman 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 13.783ms