home / cp40x

names

5 rows where case_id = 2145467

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4344815 2145467 2145467 plaintiff Hicson John     Hicson, John 0
4344816 2145467 2145467 defendant Yeanley William yeoman 588600 588600 Yeanley, William, of Westbury, yeoman 0
4344817 2145467 2145467 defendant Broxson Roger yeoman 588600 588600 Broxson, Roger, of Westbury, yeoman 1
4344818 2145467 2145467 defendant Speake Richard yeoman 588600 588600 Speake, Richard, of Westbury, yeoman 2
4344819 2145467 2145467 defendant Broxson James yeoman 588600 588600 Broxson, James, of Westbury, yeoman 3

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