home / cp40x

names

6 rows where case_id = 2305253

✎ 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
4829448 2305253 2305253 plaintiff Baron Henry merchant   Baron, Henry, merchant 0
4829449 2305253 2305253 defendant Tyrell John carver 593796 593796 Tyrell, John, of Salisbury, Wilts, carver 0
4829450 2305253 2305253 defendant Runwell John chapman 586368 586368 Runwell, John, of Taunton, chapman 1
4829451 2305253 2305253 defendant Stronge William husbandman 606190 606190 Stronge, William, of Bath, husbandman 2
4829452 2305253 2305253 defendant Benet alias Cokke John chapman 596230 596230 Benet alias Cokke, John, of South Pederton, chapman 3
4829453 2305253 2305253 defendant Coffyn or Cossyn John chapman 612586 612586 Coffyn or Cossyn, John, of Bekyngton, chapman 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.151ms