home / cp40x

names

5 rows where case_id = 2089582

✎ 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
4183125 2089582 2089582 plaintiff Powell alias Stevyns William     Powell alias Stevyns, William 0
4183126 2089582 2089582 defendant ap David Howell husbandman 710363 710363 ap David, Howell, of Llanyhangell Kylcornell, Monmouth, husbandman 0
4183127 2089582 2089582 defendant Williams Rice glover 710364 710364 Williams, Rice, of Carnarthen, glover 1
4183128 2089582 2089582 defendant Glover Owen glover 654743 654743 Glover, Owen, of Brecon, glover 2
4183129 2089582 2089582 defendant Bayly William butcher 669064 669064 Bayly, William, of Pembrudge, butcher 3

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