home / cp40x

names

7 rows where case_id = 2452936

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5326232 2452936 2452936 plaintiff Stafford John     Stafford, John 0
5326233 2452936 2452936 defendant Hall Robert husbandman 590495 590495 Hall, Robert, of Rypley, husbandman 0
5326234 2452936 2452936 defendant Hill Thomas husbandman 807326 807326 Hill, Thomas, of Helowe, husbandman 1
5326235 2452936 2452936 defendant Barton Thomas husbandman 601595 601595 Barton, Thomas, of Whetstone, husbandman 2
5326236 2452936 2452936 defendant Chapman Thurston husbandman 843637 843637 Chapman, Thurston, of Hokelowe, husbandman 3
5326237 2452936 2452936 defendant Hyll William husbandman 618086 618086 Hyll, William, of Folowe, husbandman 4
5326238 2452936 2452936 defendant Smyth John husbandman 618086 618086 Smyth, John, of Folowe, 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 10.533ms