home / cp40x

names

8 rows where case_id = 1866166

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3595310 1866166 1866166 plaintiff Martyn Walter     Martyn, Walter 0
3595311 1866166 1866166 defendant Smale John, senior husbandman 588699 588699 Smale, John, senior, of Dene Priour, husbandman 0
3595312 1866166 1866166 defendant Smale John, junior husbandman 588699 588699 Smale, John, junior, of Dene Priour, husbandman 1
3595313 1866166 1866166 defendant Hore William, junior husbandman 588700 588700 Hore, William, junior, of Dunsford, husbandman 2
3595314 1866166 1866166 defendant Donyngton alias Assherygge John butcher 588701 588701 Donyngton alias Assherygge, John, of North Taunton, butcher 3
3595315 1866166 1866166 defendant Bouker John husbandman 588702 588702 Bouker, John, of Crestowe, husbandman 4
3595316 1866166 1866166 defendant Jacop Richard butcher 588703 588703 Jacop, Richard, of Criditon, butcher 5
3595317 1866166 1866166 defendant Jacop Roger butcher 588704 588704 Jacop, Roger, of Crideton, butcher 6

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.711ms