home / cp40x

names

5 rows where case_id = 2099959

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4212631 2099959 2099959 plaintiff Wetherhedd John     Wetherhedd, John 0
4212632 2099959 2099959 defendant Baggeley Richard tailor 716027 716027 Baggeley, Richard, of Wygenhall St Mary Magdelene, tailor 0
4212633 2099959 2099959 defendant Hares William yeoman 588663 588663 Hares, William, of Tylney, yeoman 1
4212634 2099959 2099959 defendant Longe Robert husbandman 602314 602314 Longe, Robert, of Stow Bardolf, husbandman 2
4212635 2099959 2099959 defendant Robynson Adam laborer 716027 716027 Robynson, Adam, of Wygenhall St Mary Magdelene, 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.158ms