home / cp40x

names

6 rows where place_id = 636722

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3832305 1968020 1968020 defendant Toye William chapman 636722 636722 Toye, William, of Caterton, chapman 0
4886004 2322483 2322483 defendant Pyfeld John gent 636722 636722 Pyfeld, John, of Caterton, gent 0
5279214 2439018 2439018 defendant Dresser John husbandman 636722 636722 Dresser, John, of Caterton, husbandman 0
5325093 2452588 2452588 defendant Place Edmund husbandman 636722 636722 Place, Edmund, of Caterton, husbandman 0
5337263 2456217 2456217 defendant Dykson John weaver 636722 636722 Dykson, John, of Caterton, weaver 0
5337264 2456217 2456217 defendant Crofte William carpenter 636722 636722 Crofte, William, of Caterton, carpenter 1

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