home / cp40x

names

6 rows where case_id = 2418596

✎ 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
5209779 2418596 2418596 plaintiff Squyer Thomas draper 586117 586117 Squyer, Thomas, of Coventry, draper 0
5209780 2418596 2418596 defendant Harman William pewterer 586117 586117 Harman, William, of Coventry, pewterer 0
5209781 2418596 2418596 defendant Pery Sampson hosier 590962 590962 Pery, Sampson, of Lichefeld, Staffs, hosier 1
5209782 2418596 2418596 defendant Combar Thomas jun, of Kinver, Staffs, husbandman   Combar, Thomas, jun, of Kinver, Staffs, husbandman 2
5209783 2418596 2418596 defendant Combar Thomas husbandman 827511 827511 Combar, Thomas, of Storeton, Staffs, husbandman 3
5209784 2418596 2418596 defendant Dawkyns Thomas draper 734021 734021 Dawkyns, Thomas, of Trentham, Staffs, draper 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 15.252ms