home / cp40x

names

5 rows where place_id = 630430

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role

id ▼ case_id role surname forename occupation place_id raw_segment seq
3794305 1956093 1956093 defendant Leighton Robert gatekeeper 630430 630430 Leighton, Robert, of Tower of London, gatekeeper 0
3807595 1960281 1960281 defendant Love Nicholas gunner 630430 630430 Love, Nicholas, of Tower of London, gunner 0
3914198 1995092 1995092 defendant Knyvett Anthony   630430 630430 Knyvett, Anthony, of Tower of London, knight 0
3981393 2018114 2018114 plaintiff Rawlyns John   630430 630430 Rawlyns, John, of Tower of London 0
4042978 2039964 2039964 defendant Chamberleyne Ralph esq 630430 630430 Chamberleyne, Ralph, of Tower of London, esq 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 14.538ms