home / cp40x

names

6 rows where place_id = 686606

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4067616 2048732 2048732 defendant Pryce Philip husbandman 686606 686606 Pryce, Philip, of Llanellye, Brecon, husbandman 3
4119573 2067289 2067289 defendant Thomas Roger yeoman 686606 686606 Thomas, Roger, of Llanellye, Brecon, yeoman 0
4142598 2075579 2075579 defendant Thomas Roger yeoman 686606 686606 Thomas, Roger, of Llanellye, Brecon, yeoman 0
4156751 2080438 2080438 defendant Myryck James yeoman 686606 686606 Myryck, James, of Llanellye, Brecon, yeoman 2
4184715 2090162 2090162 defendant Richarde John yeoman 686606 686606 Richarde, John, of Llanellye, Brecon, yeoman 1
4204544 2097138 2097138 defendant Yghan Thomas David Gillam yeoman 686606 686606 Yghan, Thomas David Gillam, of Llanellye, Brecon, yeoman 0

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