home / cp40x

names

6 rows where place_id = 664993

✎ 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
3975092 2015850 2015850 defendant vergh Thomas Gwenliana widow 664993 664993 vergh Thomas, Gwenliana, of Kylgurrock, widow 0
4095137 2058590 2058590 defendant Morgan Thomas yeoman 664993 664993 Morgan, Thomas, of Kylgurrock, yeoman 1
4189364 2091781 2091781 defendant ap Howell John yeoman 664993 664993 ap Howell, John, of Kylgurrock, yeoman 0
4206810 2097925 2097925 defendant Lewes John (legal representative) 664993 664993 Lewes, John, of Kylgurrock, yeoman, executrix of 2
4212922 2100048 2100048 defendant ap Howell John yeoman 664993 664993 ap Howell, John, of Kylgurrock, yeoman 0
4222603 2103398 2103398 defendant James David John Thomas yeoman 664993 664993 James, David John Thomas, of Kylgurrock, 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 12.908ms