home / cp40x

names

6 rows where case_id = 1976291

✎ 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
3858411 1976291 1976291 plaintiff Bothe John merchant tailor 585869 585869 Bothe, John, of London, merchant tailor 0
3858412 1976291 1976291 defendant Stafford William gent 592568 592568 Stafford, William, of Rokyngham, Nhants, gent 0
3858413 1976291 1976291 defendant Lygh Richard gent 640944 640944 Lygh, Richard, of Swynhed, Cheshire, gent 1
3858414 1976291 1976291 defendant Wylkyns John yeoman 585969 585969 Wylkyns, John, of Lewys, Sussex, yeoman 2
3858415 1976291 1976291 defendant Tyllesley Thomas gent 640945 640945 Tyllesley, Thomas, of Wardley, Lancs, gent 3
3858416 1976291 1976291 defendant Combys John gent 640946 640946 Combys, John, of Stratforth on Haven, Worcs, gent 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 16.715ms