home / cp40x

names

7 rows where case_id = 2138338

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4323689 2138338 2138338 plaintiff ap Rees Peter Lloyd ap David     ap Rees, Peter Lloyd ap David 0
4323690 2138338 2138338 defendant Griffith Griffin ap John gent 585869 585869 Griffith, Griffin ap John, of London, or of Chwayn, Anglesey, gent 0
4323691 2138338 2138338 defendant ap Howell Hugh Lewes esq 737216 737216 ap Howell, Hugh Lewes, of Bodewrid, Anglesey, esq 1
4323692 2138338 2138338 defendant Bulkeley Richard gent 737217 737217 Bulkeley, Richard, of Llangesin, Anglesey, gent 2
4323693 2138338 2138338 defendant ap Rudd Rudder ap John gent 737218 737218 ap Rudd, Rudder ap John, of Tregayne, Anglesey, gent 3
4323694 2138338 2138338 defendant ap Gruffith John Gruffith ap John gent 737219 737219 ap Gruffith, John Gruffith ap John, of Chwain, gent 4
4323695 2138338 2138338 defendant ap William John ap rees gent 737220 737220 ap William, John ap rees, of Pentrayth, Anglesey, 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 13.476ms