home / cp40x

names

6 rows where place_id = 803847

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4799525 2296031 2296031 defendant Donan Joce merchant 803847 803847 Donan, Joce, of Seynt Dey, merchant 0
4943408 2339909 2339909 defendant Goff Richard smith 803847 803847 Goff, Richard, of Seynt Dey, smith 2
4982533 2351689 2351689 defendant Gromlegh John husbandman 803847 803847 Gromlegh, John, of Seynt Dey, husbandman 0
4983665 2352042 2352042 defendant Burgh Roger   803847 803847 Burgh, Roger, of Seynt Dey, franklin 0
4983666 2352042 2352042 defendant Oby William husbandman 803847 803847 Oby, William, of Seynt Dey, husbandman 1
4983667 2352042 2352042 defendant Gromlogh John husbandman 803847 803847 Gromlogh, John, of Seynt Dey, husbandman 2

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 11.168ms