home / cp40x

names

10 rows where place_id = 601074

✎ 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
3643750 1908473 1908473 defendant Baylly John husbandman 601074 601074 Baylly, John, of Werne, husbandman 1
4596174 2230056 2230056 defendant Halperton John   601074 601074 Halperton, John, of Werne 2
4673864 2257444 2257444 defendant Glover John husbandman 601074 601074 Glover, John, of Werne, husbandman 1
4677619 2258616 2258616 defendant Lovecok John husbandman 601074 601074 Lovecok, John, of Werne, husbandman 1
4721534 2272068 2272068 defendant Dyer William dyer 601074 601074 Dyer, William, of Werne, dyer 0
4725910 2273391 2273391 defendant Glover Thomas husbandman 601074 601074 Glover, Thomas, of Werne, husbandman 0
4725911 2273391 2273391 defendant Kent Nicholas husbandman 601074 601074 Kent, Nicholas, of Werne, husbandman 1
4732731 2275417 2275417 defendant Halperton John husbandman 601074 601074 Halperton, John, of Werne, husbandman 0
5322070 2451673 2451673 defendant Cole John husbandman 601074 601074 Cole, John, of Werne, husbandman 0
5322071 2451673 2451673 defendant Cole William laborer 601074 601074 Cole, William, of Werne, laborer 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 14.265ms