home / cp40x

names

6 rows where place_id = 777572

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4646977 2245177 2245177 plaintiff Rothewell John   777572 777572 Rothewell, John, of Great Weldon 0
4774315 2287947 2287947 defendant Smyth Robert smith 777572 777572 Smyth, Robert, of Great Weldon, smith 0
4834214 2306711 2306711 defendant Harper John   777572 777572 Harper, John, of Great Weldon, quarry man 0
5038967 2368300 2368300 defendant Halle William husbandman 777572 777572 Halle, William, of Great Weldon, husbandman 4
5051255 2371988 2371988 defendant Brews Roger yeoman 777572 777572 Brews, Roger, of Great Weldon, yeoman 0
5051256 2371988 2371988 defendant Baxster Henry husbandman 777572 777572 Baxster, Henry, of Great Weldon, husbandman 1

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