home / cp40x

names

7 rows where case_id = 2019423

✎ 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
3985087 2019423 2019423 plaintiff Trevor John esq 667422 667422 Trevor, John, of Trevalyn, Denbigh, esq 0
3985088 2019423 2019423 defendant Peyk Richard gent 667425 667425 Peyk, Richard, of Conway, Carnarvan, gent 0
3985089 2019423 2019423 defendant Lewes John gent 667426 667426 Lewes, John, of Whayne, Anglesey, gent 1
3985090 2019423 2019423 defendant Carsey John esq 667427 667427 Carsey, John, of Rasbye, Lincs, esq 2
3985091 2019423 2019423 defendant Flood Oliver esq 667428 667428 Flood, Oliver, of Leyghton, Montgomery, esq 3
3985092 2019423 2019423 defendant Hoton Ralph butcher 586606 586606 Hoton, Ralph, of Chester, butcher 4
3985093 2019423 2019423 defendant Skynner Robert glover 586606 586606 Skynner, Robert, of Chester, glover 5

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.51ms