home / cp40x

names

10 rows where case_id = 2220171

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4563548 2220171 2220171 plaintiff (not given) John bishop of Rochester   Rochester, John, bishop of 0
4563549 2220171 2220171 defendant Welford Thomas     Welford, Thomas 0
4563550 2220171 2220171 defendant Cressewyk William     Cressewyk, William 1
4563551 2220171 2220171 defendant Bures Hugh de     Bures, Hugh de 2
4563552 2220171 2220171 defendant Sudbury Richard   597137 597137 Sudbury, Richard, of Bromlegh, parson 3
4563553 2220171 2220171 defendant Drewe John     Drewe, John 4
4563554 2220171 2220171 defendant Symmes William     Symmes, William 5
4563555 2220171 2220171 defendant Wakeryng John   687182 687182 Wakeryng, John, of Orpington, parson 6
4563556 2220171 2220171 defendant Northampton William     Northampton, William 7
4563557 2220171 2220171 defendant Pole Nicholas chaplain   Pole, Nicholas, chaplain 8

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.668ms