home / cp40x

names

9 rows where case_id = 1929801

✎ 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
3711170 1929801 1929801 plaintiff Strangways Thomas knight   Strangways, Thomas, knight 0
3711171 1929801 1929801 plaintiff Constable William   587159 587159 Constable, William, of Hatfeld, knight 1
3711172 1929801 1929801 plaintiff Strangways James esq   Strangways, James, esq 2
3711173 1929801 1929801 plaintiff Aclom John esq   Aclom, John, esq 3
3711174 1929801 1929801 plaintiff Newportt Christopher, junior esq   Newportt, Christopher, junior, esq 4
3711175 1929801 1929801 plaintiff Bukton William esq   Bukton, William, esq 5
3711176 1929801 1929801 plaintiff Palmes Nicholas esq   Palmes, Nicholas, esq 6
3711177 1929801 1929801 plaintiff Wilberforce Roger gent   Wilberforce, Roger, gent 7
3711178 1929801 1929801 defendant Graunger Thomas chaplain 586067 586067 Graunger, Thomas, of York, chaplain 0

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 9.319ms