home / cp40x

names

6 rows where case_id = 2401492

✎ 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
5151191 2401492 2401492 plaintiff Goly Thomas skinner 585869 585869 Goly, Thomas, of London, skinner 0
5151192 2401492 2401492 defendant Lowe William gent 782849 782849 Lowe, William, of Cambridge, Cambs, gent 0
5151193 2401492 2401492 defendant Caweston William carpenter 589801 589801 Caweston, William, of Bekenham, Kent, carpenter 1
5151194 2401492 2401492 defendant Covenay John skinner 585888 585888 Covenay, John, of Maidstone, Kent, skinner 2
5151195 2401492 2401492 defendant Culpeper Richard esq 853553 853553 Culpeper, Richard, of Oxen Hoath, Kent, esq 3
5151196 2401492 2401492 defendant Haute William esq 585888 585888 Haute, William, of Maidstone, Kent, esq 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 17.939ms