home / cp40x

names

8 rows where case_id = 2248121

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4657126 2248121 2248121 plaintiff Clarell Thomas esq   Clarell, Thomas, esq 0
4657127 2248121 2248121 defendant Page William   589914 589914 Page, William, of Navenby, bailiff 0
4657128 2248121 2248121 defendant Benyngton John chaplain 586846 586846 Benyngton, John, of Lincoln, chaplain 1
4657129 2248121 2248121 defendant Burton John, senior yeoman 589914 589914 Burton, John, senior, of Navenby, yeoman 2
4657130 2248121 2248121 defendant Holson John husbandman 588071 588071 Holson, John, of Multon, husbandman 3
4657131 2248121 2248121 defendant Wymer Walter husbandman 588071 588071 Wymer, Walter, of Multon, husbandman 4
4657132 2248121 2248121 defendant Petypound Simon husbandman 588071 588071 Petypound, Simon, of Multon, husbandman 5
4657133 2248121 2248121 defendant Smyth Thomas yeoman 686712 686712 Smyth, Thomas, of Roppesley, 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 15.802ms