home / cp40x

names

6 rows where case_id = 2286217

✎ 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
4768790 2286217 2286217 plaintiff (not given) John bishop of Norwich   Norwich, John, bishop of 0
4768791 2286217 2286217 defendant Cakewelle William   700131 700131 Cakewelle, William, of Illyngton, parson 0
4768792 2286217 2286217 defendant Paly Stephen   607118 607118 Paly, Stephen, of Breklys, vicar 1
4768793 2286217 2286217 defendant Syre Robert   775112 775112 Syre, Robert, of Quyngton, parson 2
4768794 2286217 2286217 defendant Cacchero John   586387 586387 Cacchero, John, of Southerey, parson 3
4768795 2286217 2286217 defendant Harleston Thomas   847529 847529 Harleston, Thomas, of Fouledon, parson 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 17.552ms