home / cp40x

names

6 rows where case_id = 2418455

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5209302 2418455 2418455 plaintiff Sampton Robert     Sampton, Robert 0
5209303 2418455 2418455 defendant Upton John yeoman 587177 587177 Upton, John, of Staunford, Lincs, yeoman 0
5209304 2418455 2418455 defendant Hoper James husbandman 858037 858037 Hoper, James, of Caxton, Hunts, husbandman 1
5209305 2418455 2418455 defendant Buntyng John clerk 588840 588840 Buntyng, John, of Sondon, Beds, clerk 2
5209306 2418455 2418455 defendant Mathewe John mercer 606953 606953 Mathewe, John, of Northampton, Nhants, mercer 3
5209307 2418455 2418455 defendant Shelton John mercer 586848 586848 Shelton, John, of Northampton, mercer 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 11.37ms