home / cp40x

names

11 rows where case_id = 2488264

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5444507 2488264 2488264 plaintiff Cresacre Edward clerk   Cresacre, Edward, clerk 0
5444508 2488264 2488264 plaintiff Copley William     Copley, William 1
5444509 2488264 2488264 plaintiff Copley John     Copley, John 2
5444510 2488264 2488264 plaintiff Wortley Nicholas, senior     Wortley, Nicholas, senior 3
5444511 2488264 2488264 plaintiff Reyner Ralph     Reyner, Ralph 4
5444512 2488264 2488264 defendant Wentworth Richard gent 622098 622098 Wentworth, Richard, of West Bretton, gent 0
5444513 2488264 2488264 defendant Staynton Thomas     Staynton, Thomas 1
5444514 2488264 2488264 defendant Lynthwayt James laborer 708167 708167 Lynthwayt, James, of Nether Denby, laborer 2
5444515 2488264 2488264 defendant Denton Richard     Denton, Richard 3
5444516 2488264 2488264 defendant Sykes John tanner 640086 640086 Sykes, John, of High Holand, tanner 4
5444517 2488264 2488264 defendant Metheley Henry   708167 708167 Metheley, Henry, of Nether Denby 5

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