home / cp40x

names

7 rows where case_id = 2224754

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4578465 2224754 2224754 plaintiff Cleveland John de goldsmith 586067 586067 Cleveland, John de, of York, goldsmith 0
4578466 2224754 2224754 defendant Sandford William de knight   Sandford, William de, knight 0
4578467 2224754 2224754 defendant Craven Thomas de esq   Craven, Thomas de, esq 1
4578468 2224754 2224754 defendant Bower Thomas   592186 592186 Bower, Thomas, of North Allerton 2
4578469 2224754 2224754 defendant Chaumberleyn Robert   586067 586067 Chaumberleyn, Robert, of York 3
4578470 2224754 2224754 defendant Dogeman William   771461 771461 Dogeman, William, of Honyngham in Rydale 4
4578471 2224754 2224754 defendant Butterwyk John   768528 768528 Butterwyk, John, of Kirkeby Moresyde 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 14.148ms