home / cp40x

names

6 rows where case_id = 2276819

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4737420 2276819 2276819 plaintiff Uppeton William     Uppeton, William 0
4737421 2276819 2276819 defendant Frende John butcher 793784 793784 Frende, John, of Westlake, butcher 0
4737422 2276819 2276819 defendant Cornyssh John butcher 593513 593513 Cornyssh, John, of Staunton, butcher 1
4737423 2276819 2276819 defendant Coysshe Richard butcher 784128 784128 Coysshe, Richard, of Brente, butcher 2
4737424 2276819 2276819 defendant Docwill Nicholas smith 784128 784128 Docwill, Nicholas, of Brente, smith 3
4737425 2276819 2276819 defendant Hoper John   594621 594621 Hoper, John, of Plymouth, bailiff 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 14.217ms