home / cp40x

names

5 rows where case_id = 2512948

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5526786 2512948 2512948 plaintiff Julle Robert     Julle, Robert 0
5526787 2512948 2512948 defendant Cherryte Thomas broker 896477 896477 Cherryte, Thomas, of Breuton, Soms, broker 0
5526788 2512948 2512948 defendant Edwardis John yeoman 799690 799690 Edwardis, John, of Brekenok, Wales, yeoman 1
5526789 2512948 2512948 defendant Icby or Itby William weaver 585925 585925 Icby or Itby, William, of Bristol, weaver 2
5526790 2512948 2512948 defendant Jonys alias Glaser Philip merchant 813295 813295 Jonys alias Glaser, Philip, of Brekenok, merchant 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 7.711ms