home / cp40x

names

7 rows where case_id = 1989776

✎ 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
3898713 1989776 1989776 plaintiff Babyngton Roland esq   Babyngton, Roland, esq 0
3898714 1989776 1989776 defendant Curzon Thomas esq   Curzon, Thomas, esq, executors of 0
3898715 1989776 1989776 defendant Poley John esq 647882 647882 (Poley, John, of Croxhale, esq 1
3898716 1989776 1989776 defendant Faireclogh Henry yeoman 647882 647882 Faireclogh, Henry, of Croxhale, yeoman 2
3898717 1989776 1989776 defendant Cawardyne Thomas gent 647883 647883 Cawardyne, Thomas, of Masen Rydware, Staffs, gent 3
3898718 1989776 1989776 defendant Haldersworth Gilbert clothier 588150 588150 Haldersworth, Gilbert, of Halyfax, Yorks, clothier 4
3898719 1989776 1989776 defendant Eyer Edward gent 593057 593057 Eyer, Edward, of Bubnell, gent 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 18.178ms