home / cp40x

names

6 rows where place_id = 779697

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4663394 2250023 2250023 defendant Charlton Walter esq 779697 779697 Charlton, Walter, of Charlton, Wilts, esq 0
4901905 2327203 2327203 defendant Tunstall Nicholas esq 779697 779697 (Tunstall, Nicholas, of Charlton, Wilts, esq 1
4911794 2330192 2330192 defendant Stamford John yeoman 779697 779697 Stamford, John, of Charlton, wilts, yeoman 1
5076486 2379465 2379465 defendant Charlton Wibert esq 779697 779697 Charlton, Wibert, of Charlton, Wilts, esq 0
5095686 2385161 2385161 defendant Charlton Robert esq 779697 779697 Charlton, Robert, of Charlton, Wilts, esq 0
5432688 2484741 2484741 defendant Charleton John gent 779697 779697 Charleton, John, of Charlton, Wilts, gent 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.664ms