home / cp40x

names

8 rows where place_id = 676198

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
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
4024404 2033406 2033406 defendant Manley William husbandman 676198 676198 Manley, William, of Uplowman, husbandman 0
4024838 2033565 2033565 defendant Locke John weaver 676198 676198 Locke, John, of Uplowman, weaver 0
4024840 2033566 2033566 defendant Locke John weaver 676198 676198 Locke, John, of Uplowman, weaver 0
4321135 2137485 2137485 defendant Pryne William husbandman 676198 676198 Pryne, William, of Uplowman, husbandman 0

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 15.204ms