home / cp40x

names

6 rows where case_id = 2494095

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5463818 2494095 2494095 plaintiff Sparke William draper 585869 585869 Sparke, William, of London, draper 0
5463819 2494095 2494095 defendant Hyll John innholder 889303 889303 Hyll, John, of Newewerk, Yorks, innholder 0
5463820 2494095 2494095 defendant Cornyssh Thomas clothman 589077 589077 Cornyssh, Thomas, of Colford, Soms, clothman 1
5463821 2494095 2494095 defendant Saunders William dyer 705400 705400 Saunders, William, of Hamersham, Bucks, dyer 2
5463822 2494095 2494095 defendant Massyngham William yeoman 782849 782849 Massyngham, William, of Cambridge, Cambs, yeoman 3
5463823 2494095 2494095 defendant Speryn Edmund clothman 604018 604018 Speryn, Edmund, of Colchester, Essex, clothman 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 15.665ms