home / cp40x

names

5 rows where case_id = 2346942

✎ 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
4966591 2346942 2346942 plaintiff Doreward John esq   Doreward, John, esq 0
4966592 2346942 2346942 defendant Pondere or Poudere John husbandman 828402 828402 Pondere or Poudere, John, of Harfordstok, husbandman 0
4966593 2346942 2346942 defendant atte Ree Walter husbandman 774604 774604 atte Ree, Walter, of Hadlegh Castle, husbandman 1
4966594 2346942 2346942 defendant atte Ralph husbandman 590012 590012 atte, Ralph, of Raureth, husbandman 2
4966595 2346942 2346942 defendant atte Ree john husbandman 828402 828402 atte Ree, john, of Harfordstok, husbandman 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 16.753ms