home / cp40x

names

6 rows where case_id = 2391487

✎ 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
5117272 2391487 2391487 plaintiff Philip Mathew alderman 585869 585869 Philip, Mathew, of London, goldsmith, alderman 0
5117273 2391487 2391487 defendant Penycok John esq 586033 586033 Penycok, John, of Westminster, esq 0
5117274 2391487 2391487 defendant Throkmerton John   602195 602195 Throkmerton, John, of Tewkesbury, Glos 1
5117275 2391487 2391487 defendant Franke Richard merchant 585907 585907 Franke, Richard, of Bishops Lenn, merchant 2
5117276 2391487 2391487 defendant Berowe John gent 586033 586033 Berowe, John, of Westminster, gent 3
5117277 2391487 2391487 defendant Wykes Edmund gent 586175 586175 Wykes, Edmund, of Canterbury, gent 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 9.656ms