home / cp40x

names

6 rows where case_id = 2295851

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4798970 2295851 2295851 plaintiff Tellesford John prior of Bathe Priory   Tellesford, John, prior of Bathe Priory 0
4798971 2295851 2295851 defendant Carter William tucker 594261 594261 Carter, William, of Bathe, tucker 0
4798972 2295851 2295851 defendant Hoper William laborer 803761 803761 Hoper, William, of Cheweton junder Menedepe, hooper, Chubbe, Thomas, of Cosham, Wilts, laborer 1
4798973 2295851 2295851 defendant Catour William fisher 599886 599886 Catour, William, of Cosham, fisher 2
4798974 2295851 2295851 defendant Mason William clerk 599886 599886 Mason, William, of Cosham, clerk 3
4798975 2295851 2295851 defendant Hunte William yeoman 803762 803762 Hunte, William, of Monkton Farley, Wilts, yeoman 4

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