home / cp40x

names

6 rows where case_id = 2443024

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5293303 2443024 2443024 plaintiff Shelton Ralph esq   Shelton, Ralph, esq 0
5293304 2443024 2443024 defendant Toke Henry husbandman 589874 589874 Toke, Henry, of Claxton, husbandman 0
5293305 2443024 2443024 defendant Wryght John yeoman 619200 619200 Wryght, John, of Thrandeston, Suff, yeoman 1
5293306 2443024 2443024 defendant Hamond John husbandman 589247 589247 Hamond, John, of Eye, Suff, husbandman 2
5293307 2443024 2443024 defendant Greystok Robert husbandman 589382 589382 Greystok, Robert, of Thorndon, Suff, husbandman 3
5293308 2443024 2443024 defendant Morton Alice widow 587414 587414 Morton, Alice, of Thetford, widow 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.857ms