home / cp40x

names

9 rows where case_id = 2420397

✎ 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
5215962 2420397 2420397 plaintiff Cowdray Peter esq   Cowdray, Peter, esq 0
5215963 2420397 2420397 defendant atte Legh Peter yeoman 860255 860255 atte Legh, Peter, of Heryard, yeoman 0
5215964 2420397 2420397 defendant Wylkyns John yeoman 599029 599029 Wylkyns, John, of Farley, yeoman 1
5215965 2420397 2420397 defendant Austyn Thomas husbandman 643347 643347 Austyn, Thomas, of Wynslade, husbandman 2
5215966 2420397 2420397 defendant Hode William   599029 599029 Hode, William, of Farley, servant 3
5215967 2420397 2420397 defendant Austyn John, senior husbandman 643347 643347 Austyn, John, senior, of Wynslade, husbandman 4
5215968 2420397 2420397 defendant Frensheman Janyn   758681 758681 Frensheman, Janyn, of Farlegh, servant 5
5215969 2420397 2420397 defendant Pynne William   758681 758681 Pynne, William, of Farlegh, servant 6
5215970 2420397 2420397 defendant Yerdeley John yeoman 758681 758681 together with Yerdeley, John, of Farlegh, yeoman 7

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