home / cp40x

names

7 rows where case_id = 1914224

✎ 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
3662603 1914224 1914224 plaintiff Moore John     Moore, John 0
3662604 1914224 1914224 defendant Rugge Richard husbnadman 605694 605694 Rugge, Richard, of Honyngton Isclyst, husbnadman 0
3662605 1914224 1914224 defendant Kelly John husbandman 605695 605695 Kelly, John, of Honyton Istlyst, husbandman 1
3662606 1914224 1914224 defendant Kelly Alexander husbandman 605696 605696 Kelly, Alexander, of Honyton, Istlyst, husbandman 2
3662607 1914224 1914224 defendant Bygnay Richard   605698 605698 Bygnay, Richard, of Pynne, groom 3
3662608 1914224 1914224 defendant Rowlyn John laborer 605698 605698 Rowlyn, John, of Pynne, laborer 4
3662609 1914224 1914224 defendant Bagwell John laborer 605699 605699 Bagwell, John, of Woodbery, laborer 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 13.224ms