home / cp40x

names

5 rows where place_id = 641967

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3865038 1978508 1978508 defendant Freston Richard esq 641967 641967 Freston, Richard, of Mendam, Suff, esq 0
3865055 1978513 1978513 defendant Freston Richard esq 641967 641967 Freston, Richard, of Mendam, Suff, esq 0
4288584 2125971 2125971 defendant Flower Thomas yeoman 641967 641967 Flower, Thomas, of Mendam, Suff, yeoman 0
5327282 2453230 2453230 defendant Rudde William yeoman 641967 641967 (Rudde, William, of Mendam, Suff, yeoman 1
5327286 2453231 2453231 defendant Rudde William yeoman 641967 641967 Rudde, William, of Mendam, Suff, yeoman 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 16.15ms