home / cp40x

names

5 rows where place_id = 689239

✎ 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
4079551 2052984 2052984 defendant Stoughton Henry clerk 689239 689239 Stoughton, Henry, of Wallavington, clerk 0
4114311 2065402 2065402 defendant Poole Humphrey husbandman 689239 689239 Poole, Humphrey, of Wallavington, husbandman 1
4114312 2065402 2065402 defendant Syms Henry yeoman 689239 689239 Syms, Henry, of Wallavington, yeoman 2
4182687 2089424 2089424 defendant Daye John yeoman 689239 689239 Daye, John, of Wallavington, yeoman 0
4202597 2096452 2096452 defendant Palmer John husbandman 689239 689239 Palmer, John, of Wallavington, 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 14.51ms