home / cp40x

names

6 rows where case_id = 2416891

✎ 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
5203895 2416891 2416891 plaintiff Curson Philip draper 585936 585936 Curson, Philip, of Norwich, draper 0
5203896 2416891 2416891 defendant Codyngton John   755389 755389 Codyngton, John, of Bishop's Lenn, burgess & merchant 0
5203897 2416891 2416891 defendant Baron Henry cutler 585936 585936 Baron, Henry, of Norwich, cutler 1
5203898 2416891 2416891 defendant Barton Ralph yeoman 653051 653051 Barton, Ralph, of Cley next the Sea, Norf, yeoman 2
5203899 2416891 2416891 defendant Stevenes Robert mercer 776609 776609 Stevenes, Robert, of Bishop Lenn, mercer 3
5203900 2416891 2416891 defendant Leystok Robert merchant 755389 755389 Leystok, Robert, of Bishop's Lenn, merchant 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 14.791ms