home / cp40x

names

9 rows where case_id = 2032547

✎ 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
4021860 2032547 2032547 plaintiff Alford John attorney of the bench   Alford, John, attorney of the bench 0
4021861 2032547 2032547 defendant Knapman William yeoman 676197 676197 Knapman, William, of Trowlegh, yeoman 0
4021862 2032547 2032547 defendant Locke John weaver 676198 676198 Locke, John, of Uplowman, weaver 1
4021863 2032547 2032547 defendant Chorley John husbandman 676198 676198 Chorley, John, of Uplowman, husbandman 2
4021864 2032547 2032547 defendant Chamberleyne John   676198 676198 Chamberleyne, John, of Uplowman 3
4021865 2032547 2032547 defendant Gerswell John husbandman 676198 676198 Gerswell, John, of Uplowman, husbandman 4
4021866 2032547 2032547 defendant Knapman George yeoman 599269 599269 Knapman, George, of Throwlegh, yeoman 5
4021867 2032547 2032547 defendant Knapman James yeoman 599269 599269 Knapman, James, of Throwlegh, yeoman 6
4021868 2032547 2032547 defendant Heywoode Robert husbandman 614300 614300 Heywoode, Robert, of North tawton, husbandman 7

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