home / cp40x

names

5 rows where place_id = 616534

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3714904 1930957 1930957 plaintiff Beverley John   616534 616534 Beverley, John, of Naveby 2
4571797 2222765 2222765 defendant Preston John   616534 616534 Preston, John, of Naveby 0
4594177 2229443 2229443 defendant Lodelowe John spicer 616534 616534 Lodelowe, John, of Naveby, spicer 0
4686066 2261231 2261231 plaintiff Sely William   616534 616534 Sely, William, of Naveby 0
4878336 2320172 2320172 defendant Sletham John husbandman 616534 616534 Sletham, John, of Naveby, husbandman 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 17.509ms