home / cp40x

names

6 rows where case_id = 2326791

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4900470 2326791 2326791 plaintiff Hephill Richard parson of Etton   Hephill, Richard, parson of Etton 0
4900471 2326791 2326791 defendant Warner William yeoman 586070 586070 Warner, William, of Beverley, yeoman 0
4900472 2326791 2326791 defendant Calton Richard husbandman 611613 611613 Calton, Richard, of Lund, husbandman 1
4900473 2326791 2326791 defendant Coke Thomas husbandman 598538 598538 Coke, Thomas, of South Dalton, husbandman 2
4900474 2326791 2326791 defendant Ake John (legal representative) 776541 776541 Ake, John, of Ake, executors of 3
4900475 2326791 2326791 defendant Crulle Robert   587012 587012 (Crulle, Robert, of Wyntryngham, Lincs, franklin 4

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