home / cp40x

names

5 rows where place_id = 785706

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4693884 2263591 2263591 defendant Dyer John husbandman 785706 785706 Dyer, John, of Shafton, Dorset, husbandman 0
4724639 2273006 2273006 defendant Smyth John   785706 785706 Smyth, John, of Shafton, Dorset, parson of St Rumwold's church 1
4731168 2274948 2274948 defendant Smyth John clerk 785706 785706 Smyth, John, of Shafton, Dorset, clerk 2
4853068 2312378 2312378 defendant Fore John chapman 785706 785706 Fore, John, of Shafton, Dorset, chapman 3
4995617 2355528 2355528 defendant Meryfeld Richard mercer 785706 785706 Meryfeld, Richard, of Shafton, Dorset, mercer 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 16.234ms