home / cp40x

names

5 rows where place_id = 684697

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4059389 2045749 2045749 defendant Myles Robert blacksmith 684697 684697 Myles, Robert, of Bowdesdale, Suff, blacksmith 2
4059693 2045860 2045860 defendant Newport Edmund butcher 684697 684697 Newport, Edmund, of Bowdesdale, Suff, butcher 1
4204226 2097027 2097027 defendant Gowld Edmund yeoman 684697 684697 Gowld, Edmund, of Bowdesdale, Suff, yeoman 0
4212342 2099863 2099863 defendant Wright Richard yeoman 684697 684697 Wright, Richard, of Bowdesdale, Suff, yeoman 0
4284124 2124367 2124367 defendant Cooke John innkeeper 684697 684697 Cooke, John, of Bowdesdale, Suff, innkeeper 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 15.678ms