home / cp40x

names

10 rows where case_id = 2412943

✎ 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
5190416 2412943 2412943 plaintiff Louthe John (legal representative) 589461 589461 Louthe, John, of Louthe, gent, executors of 0
5190417 2412943 2412943 plaintiff Warde Thomas clerk   (Warde, Thomas, clerk 1
5190418 2412943 2412943 plaintiff Sudbury John clerk   Sudbury, John, clerk 2
5190419 2412943 2412943 plaintiff Rughton William chaplain   Rughton, William, chaplain 3
5190420 2412943 2412943 plaintiff Benet Robert chaplain   Benet, Robert, chaplain 4
5190421 2412943 2412943 plaintiff Gilby Thomas     Gilby, Thomas 5
5190422 2412943 2412943 defendant Marchand John, sen husbandman 586056 586056 Marchand, John, sen, of Thedilthorp, husbandman 0
5190423 2412943 2412943 defendant Welby William dealer 753711 753711 Welby, William, of Little Carleton, dealer 1
5190424 2412943 2412943 defendant Wharman William   764702 764702 Wharman, William, of Garmethorp, parish clerk 2
5190425 2412943 2412943 defendant Porchet Richard   589461 589461 Porchet, Richard, of Louthe, shoe maker 3

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