home / cp40x

names

7 rows where case_id = 2423121

✎ 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
5225452 2423121 2423121 plaintiff Scargill William, senior esq   Scargill, William, senior, esq 0
5225453 2423121 2423121 defendant Ratclyff Henry gent 861361 861361 Ratclyff, Henry, of Nethir Bradley, gent 0
5225454 2423121 2423121 defendant Pycard William yeoman 649755 649755 together with Pycard, William, of Menston, yeoman 1
5225455 2423121 2423121 defendant Pycard John yeoman 649755 649755 Pycard, John, of Menston, yeoman 2
5225456 2423121 2423121 defendant Doket Thomas weaver 861362 861362 Doket, Thomas, of Over Bradley, weaver 3
5225457 2423121 2423121 defendant Shawe Richard yeoman 588730 588730 Shawe, Richard, of Kyghley, yeoman 4
5225458 2423121 2423121 defendant Bene William clerk 586093 586093 Bene, William, of Selby, clerk 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.826ms