home / cp40x

names

7 rows where case_id = 2314220

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4859085 2314220 2314220 plaintiff Bykele Thomas     Bykele, Thomas 0
4859086 2314220 2314220 defendant Seintion Edward gent 813831 813831 Seintion, Edward, of Est Lukcombe, Soms, gent 0
4859087 2314220 2314220 defendant Hamond William chaplain 813832 813832 Hamond, William, of Mynchynbokelond, Soms, chaplain 1
4859088 2314220 2314220 defendant Drewe Roger husbandman 601515 601515 Drewe, Roger, of Lapford, husbandman 2
4859089 2314220 2314220 defendant Turner William husbandman 601515 601515 Turner, William, of Lapford, husbandman 3
4859090 2314220 2314220 defendant Cornyssh Roger tailor 762298 762298 together with Cornyssh, Roger, of Chilmelegh, tailor 4
4859091 2314220 2314220 defendant Panymede John husbandman 762298 762298 Panymede, John, of Chilmelegh, husbandman 5

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