home / cp40x

names

6 rows where case_id = 2480999

✎ 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
5420305 2480999 2480999 plaintiff Tygo John draper & burgess 755389 755389 Tygo, John, of Bishop's Lenn, draper & burgess 0
5420306 2480999 2480999 defendant Hamylton Robert clerk 885721 885721 Hamylton, Robert, of Preston by Wygenham or Wingham, Kent, clerk 0
5420307 2480999 2480999 defendant Styward David clerk & vicar 603199 603199 Styward, David, of Thaksted, Essex, clerk & vicar 1
5420308 2480999 2480999 defendant Powle Thomas yeoman 599127 599127 Powle, Thomas, of Myldenhale, Suff, yeoman 2
5420309 2480999 2480999 defendant Sporne William, senior husbandman 587446 587446 Sporne, William, senior, of West Rudham, husbandman 3
5420310 2480999 2480999 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 14.198ms