home / cp40x

names

6 rows where place_id = 789717

✎ 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
4714798 2269963 2269963 defendant Jones John ploughman 789717 789717 Jones, John, of Haukesbury Upton, ploughman 0
4714806 2269964 2269964 defendant Jones John   789717 789717 Jones, John, of Haukesbury Upton, plough man 2
4739744 2277505 2277505 defendant Foweler Matilda widow 789717 789717 Foweler, Matilda, of Haukesbury Upton, widow 1
4854963 2312908 2312908 defendant Chalkeley Thomas husbandman 789717 789717 Chalkeley, Thomas, of Haukesbury Upton, husbandman 1
4854964 2312908 2312908 defendant Maynard Richard husbandman 789717 789717 Maynard, Richard, of Haukesbury Upton, husbandman 2
4964685 2346344 2346344 defendant Shreve John husbandman 789717 789717 Shreve, John, of Haukesbury Upton, husbandman 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 15.963ms