home / cp40x

names

6 rows where case_id = 1933110

✎ 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
3721869 1933110 1933110 plaintiff Lucas Thomas esq   Lucas, Thomas, esq 0
3721870 1933110 1933110 defendant Russhe Thomas gent 586134 586134 Russhe, Thomas, of Ipswich, gent 0
3721871 1933110 1933110 defendant Harman Christopher gent 600647 600647 Harman, Christopher, of Tunstall, Suff, gent 1
3721872 1933110 1933110 defendant Holme James gent 617914 617914 Holme, James, of Rakkey, Norf, gent 2
3721873 1933110 1933110 defendant Tyntern Henry husbandman 617914 617914 Tyntern, Henry, of Rakkey, Norf, husbandman 3
3721874 1933110 1933110 defendant Ely William husbandman 617915 617915 Ely, William, of Caistor St Edmund, Norf, husbandman 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.095ms