home / cp40x

names

7 rows where case_id = 2411046

✎ 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
5183976 2411046 2411046 plaintiff Denys William esq   Denys, William, esq 0
5183977 2411046 2411046 defendant Walker William husbandman 590208 590208 Walker, William, of Ludbroke, husbandman 0
5183978 2411046 2411046 defendant Teby John husbandman 853291 853291 Teby, John, of Bakmore, husbandman 1
5183979 2411046 2411046 defendant Bykeford John husbandman 853291 853291 Bykeford, John, of Bakmore, husbandman 2
5183980 2411046 2411046 defendant Hundesdon Nicholas husbandman 857037 857037 Hundesdon, Nicholas, of Plympton Priory, husbandman 3
5183981 2411046 2411046 defendant Partryche John husbandman 599723 599723 Partryche, John, of Plympton Prior, husbandman 4
5183982 2411046 2411046 defendant Whetell Nicholas   599723 599723 Whetell, Nicholas, of Plympton Prior 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 14.243ms