home / cp40x

names

9 rows where case_id = 2398069

✎ 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
5139635 2398069 2398069 plaintiff Smyth Robert     Smyth, Robert 0
5139636 2398069 2398069 plaintiff Caselegh John     Caselegh, John 1
5139637 2398069 2398069 plaintiff Wydecombe William     Wydecombe, William 2
5139638 2398069 2398069 defendant Aysshe John, junior gent 595360 595360 Aysshe, John, junior, of Chageford, gent 0
5139639 2398069 2398069 defendant Aysshe William husbandman 595360 595360 Aysshe, William, of Chageford, husbandman 1
5139640 2398069 2398069 defendant Hilman John husbandman 595360 595360 Hilman, John, of chageford, husbandman 2
5139641 2398069 2398069 defendant Wille William laborer 595360 595360 Wille, William, of Chageford, laborer 3
5139642 2398069 2398069 defendant Comyng William laborer 595360 595360 Comyng, William, of Chageford, laborer 4
5139643 2398069 2398069 defendant Estcherche John husbandman 602843 602843 Estcherche, John, of Sprayton, husbandman 5

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