home / cp40x

names

7 rows where case_id = 2102082

✎ 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
4218828 2102082 2102082 plaintiff Lambert Simon     Lambert, Simon 0
4218829 2102082 2102082 defendant Presswell Henry husbandman 665848 665848 Presswell, Henry, of Westburye, husbandman 0
4218830 2102082 2102082 defendant Burneham William yeoman 717278 717278 Burneham, William, of Wornall, yeoman 1
4218831 2102082 2102082 defendant Kynge John husbandman 677306 677306 Kynge, John, of Lawrence Marston, Nhants, husbandman 2
4218832 2102082 2102082 defendant Chawne Fulk husbandman 666208 666208 Chawne, Fulk, of Lawrence Marston, husbandman 3
4218833 2102082 2102082 defendant Maycocke Cresent husbandman 666208 666208 Maycocke, Cresent, of Lawrence Marston, husbandman 4
4218834 2102082 2102082 defendant Dawson John weaver 666208 666208 Dawson, John, of Lawrence Marston, weaver 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 14.127ms