home / cp40x

names

9 rows where case_id = 2238219

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4623167 2238219 2238219 plaintiff Massyngham Edmund   585936 585936 Massyngham, Edmund, of Norwich 0
4623168 2238219 2238219 defendant del Hoo John   586818 586818 del Hoo, John, of Stowemarket 0
4623169 2238219 2238219 defendant Clerk Seamus   586134 586134 Clerk, Seamus, of Ipswich 1
4623170 2238219 2238219 defendant Cappe Thomas   606457 606457 Cappe, Thomas, of Thorndon 2
4623171 2238219 2238219 defendant Bray Robert bailiff   Bray, Robert, bailiff 3
4623172 2238219 2238219 defendant Levesson William bailiff   Levesson, William, bailiff 4
4623173 2238219 2238219 defendant Calston John bailiff   Calston, John, bailiff 5
4623174 2238219 2238219 defendant Wyot Richard bailiff   Wyot, Richard, bailiff 6
4623175 2238219 2238219 defendant atte Chirche John bailiff   atte Chirche, John, bailiff 7

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.075ms