home / cp40x

names

5 rows where place_id = 626469

✎ 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
3770318 1948388 1948388 defendant Norton John butcher 626469 626469 Norton, John, of Horwell, butcher 0
3882776 1984503 1984503 defendant Nicols alias Spycer John husbandman 626469 626469 Nicols alias Spycer, John, of Horwell, husbandman 1
3906196 1992362 1992362 defendant Myhyll George husbandman 626469 626469 Myhyll, George, of Horwell, husbandman 3
3908222 1993048 1993048 defendant Twylley Thomas clothier 626469 626469 Twylley, Thomas, of Horwell, clothier 1
4950731 2342196 2342196 defendant White John husbandman 626469 626469 White, John, of Horwell juxta Andever, 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 13.785ms