home / cp40x

names

7 rows where place_id = 587103

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3590480 1864669 1864669 defendant Morres Thomas husbandman 587103 587103 Morres, Thomas, of South Elmsall, husbandman 2
4233564 2107258 2107258 defendant Dey William gent 587103 587103 Dey, William, of South Elmsall, gent 0
4970748 2348192 2348192 defendant Graunte John husbandman 587103 587103 Graunte, John, of South Elmsall, husbandman 2
5240422 2427410 2427410 defendant Coke John husbandman 587103 587103 Coke, John, of South Elmsall, husbandman 0
5240423 2427410 2427410 defendant Coke John, junior tailor 587103 587103 Coke, John, junior, of South Elmsall, tailor 1
5497063 2504060 2504060 defendant Robert Richard husbandman 587103 587103 Robert, Richard, of South Elmsall, husbandman 0
5497064 2504060 2504060 defendant Mares Thomas husbandman 587103 587103 Mares, Thomas, of South Elmsall, husbandman 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 15.163ms