home / cp40x

names

10 rows where case_id = 2352345

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4984675 2352345 2352345 plaintiff Wombewell Thomas     Wombewell, Thomas 0
4984676 2352345 2352345 defendant Robynson Robert husbandman 597705 597705 Robynson, Robert, of Goldthorp, husbandman 0
4984677 2352345 2352345 defendant Robynson Thomas husbandman 597705 597705 Robynson, Thomas, of Goldthorp, husbandman 1
4984678 2352345 2352345 defendant Clerkson John husbandman 597705 597705 Clerkson, John, of Goldthorp, husbandman 2
4984679 2352345 2352345 defendant Cartwright John husbandman 601140 601140 Cartwright, John, of Bolton on Dern, husbandman 3
4984680 2352345 2352345 defendant Nayler Thomas laborer 830634 830634 Nayler, Thomas, of Grisbroke, laborer 4
4984681 2352345 2352345 defendant Wodhous William nailer 830634 830634 Wodhous, William, of Grisbroke, nailer 5
4984682 2352345 2352345 defendant Southe John laborer 830634 830634 Southe, John, of Grisbroke, laborer 6
4984683 2352345 2352345 defendant Yoll William husbandman 830635 830635 Yoll, William, of Nether Halgh, husbandman 7
4984684 2352345 2352345 defendant Hill John nailer 830634 830634 Hill, John, of Grisbroke, nailer 8

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 16.1ms