home / cp40x

names

7 rows where case_id = 2260397

✎ 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
4683352 2260397 2260397 plaintiff Pattesle Thomas clerk   Pattesle, Thomas, clerk, on his own account 0
4683353 2260397 2260397 defendant Revyll John husbandman 592732 592732 Revyll, John, of Balsham, husbandman 0
4683354 2260397 2260397 defendant Kyng John husbandman 783677 783677 Kyng, John, of Great Eversdon, husbandman 1
4683355 2260397 2260397 defendant Pryour William husbandman 592732 592732 Pryour, William, of Balsham, husbandman 2
4683356 2260397 2260397 defendant Spylleman William husbandman 592732 592732 Spylleman, William, of Balsham, husbandman 3
4683357 2260397 2260397 defendant Sped John husbandman 603729 603729 Sped, John, of Great Shelford, husbandman 4
4683358 2260397 2260397 defendant Wrythe John husbandman 593785 593785 Wrythe, John, of Harlyston, husbandman 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 7.68ms