home / cp40x

names

10 rows where case_id = 2016847

✎ 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
3977907 2016847 2016847 plaintiff Maddocke John     Maddocke, John 0
3977908 2016847 2016847 defendant Baskervyle John husbandman 640753 640753 Baskervyle, John, of Ewyas Harold, husbandman 0
3977909 2016847 2016847 defendant Berrowe William yeoman 630114 630114 Berrowe, William, of Doore, yeoman 1
3977910 2016847 2016847 defendant Johns William husbandman 630114 630114 Johns, William, of Doore, husbandman 2
3977911 2016847 2016847 defendant ap John John William laborer 630114 630114 ap John, John William, of Doore, laborer 3
3977912 2016847 2016847 defendant Morgan David cordwainer 630114 630114 Morgan, David, of Doore, cordwainer 4
3977913 2016847 2016847 defendant Lewys John, senior laborer 630114 630114 Lewys, John, senior, of Doore, laborer 5
3977914 2016847 2016847 defendant Lewys Henry laborer 604744 604744 Lewys, Henry, of Bacton, laborer 6
3977915 2016847 2016847 defendant Lewys John, junior laborer 630114 630114 Lewys, John, junior, of Doore, laborer 7
3977916 2016847 2016847 defendant William Lewis laborer 630114 630114 William, Lewis, of Doore, laborer 8

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.738ms