home / cp40x

names

7 rows where case_id = 2358026

✎ 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
5003882 2358026 2358026 plaintiff Perys Edmund     Perys, Edmund 0
5003883 2358026 2358026 defendant Reynkyn William husbandman 586057 586057 Reynkyn, William, of Walpole, husbandman 0
5003884 2358026 2358026 defendant Watson Thomas brewer 755389 755389 Watson, Thomas, of Bishop's Lenn, brewer 1
5003885 2358026 2358026 defendant Flory Richard husbandman 586652 586652 Flory, Richard, of Islyngton, husbandman 2
5003886 2358026 2358026 defendant Hardy John yeoman 588438 588438 Hardy, John, of Wykhampton, yeoman 3
5003887 2358026 2358026 defendant Buk John husbandman 654482 654482 Buk, John, of Great Cressyngham, husbandman 4
5003888 2358026 2358026 defendant Lovet Thomas yeoman 698923 698923 Lovet, Thomas, of Castle Rysyng, yeoman 5

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 8.38ms