home / cp40x

names

9 rows where place_id = 612515

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3693657 1924210 1924210 defendant Mayson William chapman 612515 612515 Mayson, William, of Reseham, chapman 1
3724753 1934027 1934027 defendant Mason William hardwareman 612515 612515 Mason, William, of Reseham, hardwareman 2
3780428 1951613 1951613 defendant Barker William husbandman 612515 612515 Barker, William, of Reseham, husbandman 1
5515618 2509728 2509728 defendant Smyth William clerk 612515 612515 Smyth, William, of Reseham, clerk 0
5515619 2509728 2509728 defendant Jakson Thomas husbandman 612515 612515 Jakson, Thomas, of Reseham, husbandman 1
5515620 2509728 2509728 defendant Spenser Thomas husbandman 612515 612515 Spenser, Thomas, of Reseham, husbandman 2
5515621 2509728 2509728 defendant Kent Thomas husbandman 612515 612515 Kent, Thomas, of Reseham, husbandman 3
5515622 2509728 2509728 defendant Bullyngbroke William husbandman 612515 612515 Bullyngbroke, William, of Reseham, husbandman 4
5515623 2509728 2509728 defendant Bland William husbandman 612515 612515 Bland, William, of Reseham, 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 14.144ms