home / cp40x

names

6 rows where case_id = 2090587

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4185981 2090587 2090587 plaintiff Spencer William     Spencer, William 0
4185982 2090587 2090587 defendant Allen Thomas gent 586865 586865 Allen, Thomas, of Glastonbury, Soms, gent 0
4185983 2090587 2090587 defendant Wolcott Peter gent 586036 586036 Wolcott, Peter, of Exeter, gent 1
4185984 2090587 2090587 defendant Rawley Cary or Carew esq 710929 710929 Rawley, Cary or Carew, of Corsell, Wilts, esq 2
4185985 2090587 2090587 defendant Yarde Edward esq   Yarde, Edward, esq, administratrix of 3
4185986 2090587 2090587 defendant Yarde Anne widow 710117 710117 Yarde, Anne, of Churstone, Devon, widow 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 14.07ms