home / cp40x

names

7 rows where case_id = 2213595

✎ 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
4542666 2213595 2213595 plaintiff Alayn Richard chaplain   Alayn, Richard, chaplain 0
4542667 2213595 2213595 plaintiff atte Hoo John chaplain   atte Hoo, John, chaplain 1
4542668 2213595 2213595 defendant Nunde John   631892 631892 Nunde, John, of Lambourn, parson 0
4542669 2213595 2213595 defendant Shelley John parson of the church, in   Shelley, John, parson of the church, in 1
4542670 2213595 2213595 defendant atte Ree Wiliam   597025 597025 atte Ree, Wiliam, of Wodford 2
4542671 2213595 2213595 defendant Brayneshache John   767737 767737 Brayneshache, John, of Shyngelfeld 3
4542672 2213595 2213595 defendant Loryng Robert   755886 755886 Loryng, Robert, of Hodesdon 4

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