home / cp40x

names

6 rows where place_id = 795710

✎ 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
4747477 2279767 2279767 defendant Dy Morris clerk 795710 795710 Dy, Morris, of Credeley, clerk 0
4794448 2294402 2294402 defendant Hales John husbandman 795710 795710 Hales, John, of Credeley, husbandman 3
4798767 2295793 2295793 defendant Taillour John tailor 795710 795710 Taillour, John, of Credeley, tailor 3
5025730 2364429 2364429 defendant Dyvy Maurice clerk 795710 795710 Dyvy, Maurice, of Credeley, clerk 0
5025943 2364482 2364482 defendant Sondy David husbandman 795710 795710 Sondy, David, of Credeley, husbandman 1
5025946 2364482 2364482 defendant Chamberleyn William husbandman 795710 795710 Chamberleyn, William, of Credeley, husbandman 4

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