home / cp40x

names

8 rows where case_id = 2406394

✎ 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
5168139 2406394 2406394 plaintiff Denys William esq   Denys, William, esq 0
5168140 2406394 2406394 defendant Walker William husbandman 590208 590208 Walker, William, of Ludbroke, husbandman 0
5168141 2406394 2406394 defendant Tely John husbandman 853291 853291 Tely, John, of Bakmore, husbandman 1
5168142 2406394 2406394 defendant Bykeford John husbandman 853291 853291 Bykeford, John, of Bakmore, husbandman 2
5168143 2406394 2406394 defendant Hundesdon Nicholas husbandman 599723 599723 Hundesdon, Nicholas, of Plympton Prior, husbandman 3
5168144 2406394 2406394 defendant Partryche John husbandman 599723 599723 Partryche, John, of Plympton Prior, husbandman 4
5168145 2406394 2406394 defendant Whetell Nicholas husbandman 599723 599723 Whetell, Nicholas, of Plympton Prior, husbandman 5
5168146 2406394 2406394 defendant Prouce John husbandman 599723 599723 Prouce, John, of Plympton Prior, husbandman 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 20.82ms