home / cp40x

names

8 rows where case_id = 2005478

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3945402 2005478 2005478 plaintiff Bowes John (legal representative) 657697 657697 Bowes, John, of Hackeneye, Middx, esq, executors of 0
3945403 2005478 2005478 plaintiff Bowes John esq, his oldest son   (Bowes, John, esq, his oldest son 1
3945404 2005478 2005478 plaintiff Markham Elias esq, his uncle   Markham, Elias, esq, his uncle 2
3945405 2005478 2005478 plaintiff Gresham Paul esq, his brother in law   Gresham, Paul, esq, his brother in law 3
3945406 2005478 2005478 plaintiff Bowes Edward esq, his brother   Bowes, Edward, esq, his brother 4
3945407 2005478 2005478 defendant Chytwood or Chetwood Richard (legal representative) 585869 585869 Chytwood or Chetwood, Richard, of London, esq, executors of 0
3945408 2005478 2005478 defendant Calveley George esq 657698 657698 (Calveley, George, of Ley, Cheshire, esq 1
3945409 2005478 2005478 defendant Chytwood John     Chytwood, John 2

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