home / cp40x

names

6 rows where case_id = 2379938

✎ 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
5078108 2379938 2379938 plaintiff Braddon John, junior   593750 593750 Braddon, John, junior, of Baunton 0
5078109 2379938 2379938 defendant Ledecote William merchant 825780 825780 Ledecote, William, of Barstapell, merchant 0
5078110 2379938 2379938 defendant Cory Thomas weaver 585871 585871 Cory, Thomas, of Taunton, Soms, weaver 1
5078111 2379938 2379938 defendant Benet Richard tanner 843768 843768 Benet, Richard, of Welyscomb, Soms, tanner 2
5078112 2379938 2379938 defendant Pedeler John yeoman 825780 825780 Pedeler, John, of Barstapell, yeoman 3
5078113 2379938 2379938 defendant Godwyn Philip butcher 586036 586036 Godwyn, Philip, of Exeter, butcher 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 16.785ms