home / cp40x

names

9 rows where case_id = 2365681

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5030120 2365681 2365681 plaintiff Payn John     Payn, John 0
5030121 2365681 2365681 defendant Walter John ostler 586859 586859 Walter, John, of Salisbury, ostler 0
5030122 2365681 2365681 defendant Haryngdon John chaplain 586859 586859 Haryngdon, John, of Salisbury, chaplain 1
5030123 2365681 2365681 defendant Wyncestre Robert husbandman 619061 619061 Wyncestre, Robert, of Fovent, husbandman 2
5030124 2365681 2365681 defendant Aynesworth Brian soldier 836064 836064 Aynesworth, Brian, of Burghwaysshe, Plumstede, Kent, soldier 3
5030125 2365681 2365681 defendant Gerveys Robert skinner 585869 585869 Gerveys, Robert, of London, skinner 4
5030126 2365681 2365681 defendant Monke Thomas husbandman 836063 836063 Monke, Thomas, of Wolle, Dorset, husbandman 5
5030127 2365681 2365681 defendant Gardener Thomas draper 653834 653834 Gardener, Thomas, of Burneham, Bucks, draper 6
5030128 2365681 2365681 defendant Brygge Stephen soldier 837191 837191 Brygge, Stephen, of Burwaysshe, Plumstede, soldier 7

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