home / cp40x

names

5 rows where place_id = 625468

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3764397 1946526 1946526 defendant Pynnocke Robert smith 625468 625468 Pynnocke, Robert, of Stourton Caundell, smith 1
3999267 2024493 2024493 defendant Shattoo Gilbert   625468 625468 Shattoo, Gilbert, of Stourton Caundell, button maker 0
4160618 2081788 2081788 defendant Adams George husbandman 625468 625468 Adams, George, of Stourton Caundell, husbandman 3
4208905 2098663 2098663 defendant Garrett George gent 625468 625468 Garrett, George, of Stourton Caundell, gent 0
5475748 2497743 2497743 defendant Weyle Richard smith 625468 625468 Weyle, Richard, of Stourton Caundell, smith 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 6.793ms