home / cp40x

names

6 rows where case_id = 2473326

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5393938 2473326 2473326 plaintiff Tygo John draper & burgess 755389 755389 Tygo, John, of Bishop's Lenn, draper & burgess 0
5393939 2473326 2473326 defendant Hamylton Robert clerk 882492 882492 Hamylton, Robert, of Preston by Wyngeham, Kent, clerk 0
5393940 2473326 2473326 defendant Styward David clerk & vicar 603199 603199 Styward, David, of Thaksted, Essex, clerk & vicar 1
5393941 2473326 2473326 defendant Powle Thomas yeoman 599127 599127 Powle, Thomas, of Myldenhale, Suff, yeoman 2
5393942 2473326 2473326 defendant Spoine William, senior husbandman 587446 587446 Spoine, William, senior, of West Rudham, husbandman 3
5393943 2473326 2473326 defendant Chapman Henry husbandman 882493 882493 Chapman, Henry, of Shuldham, Suff, 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 5.919ms