home / cp40x

names

6 rows where case_id = 2282952

✎ 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
4758239 2282952 2282952 plaintiff Burlegh Robert     Burlegh, Robert 0
4758240 2282952 2282952 defendant Hendore Thomas chaplain 903414 903414 Hendore, Thomas, of Portelmouth, esq;Stokker, Nicholas, of Muleburgh, chaplain 0
4758241 2282952 2282952 defendant Rose John husbandman 797802 797802 Rose, John, of Maleburgh, husbandman 1
4758242 2282952 2282952 defendant Spyre John husbandman 611372 611372 Spyre, John, of Stoke Flemyng, husbandman 2
4758243 2282952 2282952 defendant Shynner Richard husbandman 784131 784131 Shynner, Richard, of Lodeswyll, husbandman 3
4758244 2282952 2282952 defendant Boolde Richard husbandman 603529 603529 Boolde, Richard, of Thorleston, 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 13.384ms