home / cp40x

names

5 rows where place_id = 781721

✎ 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
4185267 2090356 2090356 defendant Skargill Robert hardwareman 781721 781721 Skargill, Robert, of Stanyngton, arrowhead smith, hardwareman 1
4674055 2257496 2257496 defendant Jonson Thomas husbandman 781721 781721 Jonson, Thomas, of Stanyngton, husbandman 0
4696906 2264512 2264512 defendant Corbet John gent 781721 781721 Corbet, John, of Stanyngton, gent 0
4930035 2335800 2335800 plaintiff Gray John   781721 781721 Gray, John, of Stanyngton, vicar 3
5005628 2358545 2358545 defendant Brompton John husbandman 781721 781721 Brompton, John, of Stanyngton, husbandman 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 15.635ms