home / cp40x

names

7 rows where case_id = 2385145

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5095627 2385145 2385145 plaintiff Smyth John     Smyth, John 0
5095628 2385145 2385145 defendant Lucas Richard tailor 590685 590685 Lucas, Richard, of Sevenok, tailor 0
5095629 2385145 2385145 defendant Garnet William gent 804092 804092 Garnet, William, of Aillesford, gent 1
5095630 2385145 2385145 defendant Mody John miller 772028 772028 Mody, John, of Chidyngstone, miller 2
5095631 2385145 2385145 defendant Cristemas Richard administrators of   Cristemas, Richard, administrators of 3
5095632 2385145 2385145 defendant Cristemas Alice widow 590685 590685 (Cristemas, Alice, of Sevenok, widow 4
5095633 2385145 2385145 defendant Cristemas Henry tiller or tiler 590685 590685 Cristemas, Henry, of Sevenok, tiller or tiler 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 15.31ms