home / cp40x

names

5 rows where place_id = 777400

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4644833 2244555 2244555 defendant Philip Thomas   777400 777400 together with Philip, Thomas, of Balby 1
4644835 2244556 2244556 defendant Philip Thomas   777400 777400 Philip, Thomas, of Balby 0
4914051 2330905 2330905 defendant Balby Willam husbandman 777400 777400 Balby, Willam, of Balby, husbandman 0
4914054 2330906 2330906 defendant Balby William husbandman 777400 777400 Balby, William, of Balby, husbandman 0
5631285 2553787 2553787 defendant Forster John yeoman 777400 777400 Forster, John, of Balby, yeoman 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 13.165ms