home / cp40x

names

6 rows where case_id = 2463991

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5362738 2463991 2463991 plaintiff Ufflete Robert   586363 586363 Ufflete, Robert, of Bungey 0
5362739 2463991 2463991 defendant Weston William husbandman 877733 877733 Weston, William, of Norton juxta Thurleton, husbandman, son of Weston, Alexander, husbandman 0
5362740 2463991 2463991 defendant Syble John husbandman 840233 840233 Syble, John, of Halysworth, Suff, husbandman 1
5362741 2463991 2463991 defendant Lombe John husbandman 868796 868796 Lombe, John, of Ilketyllyshale, Suff, husbandman 2
5362742 2463991 2463991 defendant Russell Roger husbandman 644948 644948 Russell, Roger, of Upston, Suff, husbandman 3
5362743 2463991 2463991 defendant Polkyn Robert husbandman 877734 877734 Polkyn, Robert, of Broom juxta Dychyngham, 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 14.461ms