home / cp40x

names

6 rows where case_id = 2344590

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4958759 2344590 2344590 plaintiff York William     York, William 0
4958760 2344590 2344590 defendant Forst John, senior husbandman 602149 602149 Forst, John, senior, of Methe, husbandman 0
4958761 2344590 2344590 defendant Norys John husbandman 602149 602149 Norys, John, of Methe, husbandman 1
4958762 2344590 2344590 defendant Athelard Roger husbandman 593082 593082 Athelard, Roger, of Wynkelegh, husbandman 2
4958763 2344590 2344590 defendant Forst William husbandman 602149 602149 Forst, William, of Methe, husbandman 3
4958764 2344590 2344590 defendant Borne John husbandman 593082 593082 Borne, John, of Wynkelegh, husbandman 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 12.586ms