home / cp40x

names

10 rows where case_id = 2278017

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4741522 2278017 2278017 plaintiff Boteler Adnrew knight   Boteler, Adnrew, knight 0
4741523 2278017 2278017 plaintiff atte Lane Warin     atte Lane, Warin 1
4741524 2278017 2278017 plaintiff Melles Robert     Melles, Robert, on their own account 2
4741525 2278017 2278017 defendant Sparhauk Andrew yeoman 782937 782937 Sparhauk, Andrew, of Helverton, yeoman 0
4741526 2278017 2278017 defendant Shell John yeoman 594671 594671 Shell, John, of felthorp, yeoman 1
4741527 2278017 2278017 defendant atte Chirche Thomas yeoman 594671 594671 atte Chirche, Thomas, of Felthorp, yeoman 2
4741528 2278017 2278017 defendant Todenham John, junior yeoman 594671 594671 Todenham, John, junior, of Felthorp, yeoman 3
4741529 2278017 2278017 defendant Dobbe William yeoman 794550 794550 Dobbe, William, of Spronston, yeoman 4
4741530 2278017 2278017 defendant Dobbe Margaret     Margaret, his wife 5
4741531 2278017 2278017 defendant Loos Thomas yeoman 794550 794550 Loos, Thomas, of Spronston, yeoman 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 18.337ms