home / cp40x

names

9 rows where case_id = 2193914

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4478368 2193914 2193914 plaintiff (not given) John bishop of Hereford   Hereford, John, bishop of 0
4478369 2193914 2193914 defendant ap Yevan Howel   755273 755273 ap Yevan, Howel, of Bishop's Castle 0
4478370 2193914 2193914 defendant Herdewyk William   755273 755273 Herdewyk, William, of Bishop's Castle 1
4478371 2193914 2193914 defendant Couper Roger   755273 755273 Couper, Roger, of Bishop's Castle 2
4478372 2193914 2193914 defendant William Philip   761368 761368 William, Philip, of Bisshop's Castle 3
4478373 2193914 2193914 defendant Stokkyn Richard     Stokkyn, Richard 4
4478374 2193914 2193914 defendant Peyt John   755273 755273 Peyt, John, of Bishop's Castle 5
4478375 2193914 2193914 defendant Talent John     Talent, John 6
4478376 2193914 2193914 defendant Adys of Bishop's Castle     Adys, of Bishop's Castle 7

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