home / cp40x

names

6 rows where case_id = 2019424

✎ 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
3985094 2019424 2019424 plaintiff Trevor John esq 667422 667422 Trevor, John, of Trevalyn, Denbigh, esq 0
3985095 2019424 2019424 defendant Reydon Margaret widow of Roger Reydon 648612 648612 Reydon, Margaret, of Burton, Denbigh, widow of Roger Reydon 0
3985096 2019424 2019424 defendant Hoton John butcher 585869 585869 Hoton, John, of London, yeoman, or of Chester, butcher 1
3985097 2019424 2019424 defendant Pryce William gent 667430 667430 Pryce, William, of Bewmarrys, Anglesey, gent 2
3985098 2019424 2019424 defendant Puleston Roland gent 599994 599994 Puleston, Roland, of Carnarvan, gent 3
3985099 2019424 2019424 defendant Wynstanley Edward   585869 585869 Wynstanley, Edward, of London, gent, servant unto Walter, Viscount Hereford 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.826ms