home / cp40x

names

9 rows where place_id = 688746

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4077258 2052151 2052151 defendant Ayrton Edmund yeoman 688746 688746 Ayrton, Edmund, of Malham, yeoman 0
4077259 2052151 2052151 defendant Deane John yeoman 688746 688746 Deane, John, of Malham, yeoman 1
4158382 2081004 2081004 defendant Barrowe John yeoman 688746 688746 Barrowe, John, of Malham, yeoman 1
4158383 2081004 2081004 defendant Hill Elizabeth widow 688746 688746 Hill, Elizabeth, of Malham, widow 2
4158384 2081004 2081004 defendant Hill Christopher yeoman 688746 688746 Hill, Christopher, of Malham, yeoman 3
4370948 2154666 2154666 defendant Windsor   laborer 688746 688746 Windsor, , of Malham, laborer 0
4370949 2154666 2154666 defendant Sergeantson Miles laborer 688746 688746 together with Sergeantson, Miles, of Malham, laborer 1
4370950 2154666 2154666 defendant Taylor John laborer 688746 688746 Taylor, John, of Malham, laborer 2
4370951 2154666 2154666 defendant Preston Roger laborer 688746 688746 Preston, Roger, of Malham, laborer 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 11.428ms