home / cp40x

names

8 rows where place_id = 827811

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4961719 2345467 2345467 defendant Michell William esq 827811 827811 Michell, William, of Wemedon, esq 0
5086817 2382541 2382541 defendant Holme John husbandman 827811 827811 Holme, John, of Wemedon, husbandman 0
5382047 2469923 2469923 defendant Mershe John yeoman 827811 827811 together with Mershe, John, of Wemedon, yeoman 1
5626581 2552286 2552286 defendant Howson Robert ploughman 827811 827811 Howson, Robert, of Wemedon, ploughman 1
5626582 2552286 2552286 defendant Symeon William ploughman 827811 827811 Symeon, William, of Wemedon, ploughman 2
5626583 2552286 2552286 defendant Pury William ploughman 827811 827811 Pury, William, of Wemedon, ploughman 3
5626584 2552286 2552286 defendant Chote William ploughman 827811 827811 Chote, William, of Wemedon, ploughman 4
5626585 2552286 2552286 defendant Symeon Thomas ploughman 827811 827811 Symeon, Thomas, of Wemedon, ploughman 5

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