home / cp40x

names

6 rows where place_id = 628015

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3779901 1951443 1951443 defendant Garnet John yeoman 628015 628015 Garnet, John, of Gaston, yeoman 2
3853532 1974729 1974729 defendant Wood William clerk 628015 628015 Wood, William, of Gaston, clerk 2
3853534 1974729 1974729 defendant Hardy Brian husbandman 628015 628015 Hardy, Brian, of Gaston, husbandman 4
3853535 1974729 1974729 defendant Redman William smith 628015 628015 Redman, William, of Gaston, smith 5
3886452 1985723 1985723 defendant Dansey Thomas gent 628015 628015 Dansey, Thomas, of Gaston, gent 0
4732316 2275285 2275285 plaintiff Palle Katherine   628015 628015 Palle, Katherine, of Gaston 0

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