home / cp40x

names

6 rows where place_id = 762981

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4493117 2198549 2198549 defendant Busshe John   762981 762981 Busshe, John, of Sibsay 1
4569304 2221989 2221989 defendant Pere_ William   762981 762981 Pere_, William, of Sibsay 4
4569305 2221989 2221989 defendant Hagon John   762981 762981 Hagon, John, of Sibsay 5
4580615 2225418 2225418 defendant Shell John   762981 762981 Shell, John, of Sibsay 0
4599049 2230919 2230919 defendant Droury Hugh   762981 762981 Droury, Hugh, of Sibsay 0
5228019 2423805 2423805 defendant Randolf Alan husbandman 762981 762981 Randolf, Alan, of Sibsay, husbandman 6

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