home / cp40x

names

8 rows where place_id = 802637

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4322613 2137978 2137978 defendant Mantell John yeoman 802637 802637 Mantell, John, of Dorcester, or of Iver, Christchurch, Hants, yeoman 1
4485827 2196275 2196275 plaintiff Rigges John   802637 802637 Rigges, John, of Dorcester, parson of Holy Trinity church 0
4789752 2292864 2292864 defendant Peytevyn John chaplain 802637 802637 Peytevyn, John, of Dorcester, chaplain 0
4944477 2340251 2340251 defendant Bertram Robert dyer 802637 802637 Bertram, Robert, of Dorcester, dyer 0
5243695 2428347 2428347 defendant Gruggeworth Thomas butcher 802637 802637 Gruggeworth, Thomas, of Dorcester, butcher 3
5312321 2448720 2448720 defendant Martyn John draper 802637 802637 Martyn, John, of Dorcester, draper 0
5320156 2451118 2451118 defendant Comyn alias Bocher William butcher 802637 802637 Comyn alias Bocher, William, of Dorcester, butcher 0
5347873 2459479 2459479 defendant Pasku Robert chapman 802637 802637 Pasku, Robert, of Dorcester, chapman 3

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