home / cp40x

names

7 rows where case_id = 2417187

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5204911 2417187 2417187 plaintiff Gay Thomas jun, of London   Gay, Thomas, jun, of London 0
5204912 2417187 2417187 defendant Stevyn John yeoman 587863 587863 Stevyn, John, of Dunster, Soms, yeoman 0
5204913 2417187 2417187 defendant Cambrig Peter gent 859180 859180 Cambrig, Peter, of East Lambe Hythe, Surrey, gent 1
5204914 2417187 2417187 defendant Chaderton Henry esq 857202 857202 Chaderton, Henry, of Jermyns, Essex, esq 2
5204915 2417187 2417187 defendant Curson Thomas gent 585869 585869 Curson, Thomas, of London, gent 3
5204916 2417187 2417187 defendant Germyn John (legal representative) 604030 604030 Germyn, John, of Exeter, Devon, gent, executrix of 4
5204917 2417187 2417187 defendant Germyn Isabel widow 604030 604030 Germyn, Isabel, of Exeter, Devon, widow 5

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.561ms