home / cp40x

names

7 rows where case_id = 2005768

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3946255 2005768 2005768 plaintiff Bury John   604069 604069 Bury, John, of Sandryngham 0
3946256 2005768 2005768 plaintiff Nevett William merchant 657909 657909 Nevett, William, of Derryngham, merchant 1
3946257 2005768 2005768 defendant Barker John husbandman 657910 657910 Barker, John, of Roklyff, Yorks, husbandman 0
3946258 2005768 2005768 defendant Whytesyde William husbandman 657911 657911 Whytesyde, William, of Roklyff, husbandman 1
3946259 2005768 2005768 defendant Fox John husbandman 610643 610643 Fox, John, of Roclyff, husbandman 2
3946260 2005768 2005768 defendant Hemsbrough John husbandman 657911 657911 Hemsbrough, John, of Roklyff, husbandman 3
3946261 2005768 2005768 defendant Jakson John husbandman 657911 657911 Jakson, John, of Roklyff, husbandman 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 11.753ms