home / cp40x

names

6 rows where case_id = 2337477

✎ 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
4935427 2337477 2337477 plaintiff Belton John     Belton, John 0
4935428 2337477 2337477 defendant Mast William husbandman 593853 593853 Mast, William, of Wysbech, husbandman 0
4935429 2337477 2337477 defendant Bateman John yeoman 601687 601687 Bateman, John, of Badburgham, yeoman 1
4935430 2337477 2337477 defendant Malkyn John chandler 596518 596518 Malkyn, John, of Baryngton, chandler 2
4935431 2337477 2337477 defendant atte Well alias Ponter Peter husbandman 824448 824448 atte Well alias Ponter, Peter, of Stepyl Mordon, husbandman 3
4935432 2337477 2337477 defendant Carowe John husbandman 602254 602254 Carowe, John, of Hynton, husbandman 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 11.711ms