home / cp40x

names

8 rows where case_id = 2398642

✎ 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
5141549 2398642 2398642 plaintiff Vessy John     Vessy, John 0
5141550 2398642 2398642 defendant Sharp John, senior husbandman 598267 598267 Sharp, John, senior, of Rugge, husbandman 0
5141551 2398642 2398642 defendant Aode John chaplain 598267 598267 Aode, John, of Rugge, chaplain 1
5141552 2398642 2398642 defendant Sharp John, junior husbandman 598267 598267 Sharp, John, junior, of Rugge, husbandman 2
5141553 2398642 2398642 defendant Perkyn Roger husbandman 852225 852225 Perkyn, Roger, of Rugge or Ridge, husbandman 3
5141554 2398642 2398642 defendant Stanet William husbandman 598267 598267 Stanet, William, of Rugge, husbandman 4
5141555 2398642 2398642 defendant Haksalt William yeoman 586275 586275 Haksalt, William, of Chepyng Barnet, yeoman 5
5141556 2398642 2398642 defendant Penycombe John barber 596708 596708 Penycombe, John, of Chepyng Barnet, Herts, barber 6

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