home / cp40x

names

6 rows where case_id = 2519342

✎ 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
5547695 2519342 2519342 plaintiff Wryght John (legal representative) 592927 592927 Wryght, John, of Brome, son of Wryght, Richard, executor of 0
5547696 2519342 2519342 plaintiff Wryght John     Wryght, John 1
5547697 2519342 2519342 defendant Chapeleyn alias Dam Thomas (legal representative) 601717 601717 Chapeleyn alias Dam, Thomas, of Bungay, Suff, yeoman, executors of 0
5547698 2519342 2519342 defendant Charnell John smith 586362 586362 (Charnell, John, of Bungey, Suff, smith 1
5547699 2519342 2519342 defendant Burges John butcher 754703 754703 Burges, John, of Aldebergh, butcher 2
5547700 2519342 2519342 defendant Merday John   642391 642391 Merday, John, of Broom, ploughwright 3

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