home / cp40x

names

6 rows where place_id = 620771

✎ 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
3737518 1937973 1937973 defendant Bradsagh Roger esq 620771 620771 Bradsagh, Roger, of Hagh, Lancs, esq 3
3835699 1969095 1969095 defendant Brodeshaw Roger esq 620771 620771 Brodeshaw, Roger, of Hagh, Lancs, esq 0
5054784 2373006 2373006 defendant Bradshagh William esq 620771 620771 Bradshagh, William, of Hagh, Lancs, esq 0
5054796 2373007 2373007 defendant Brashagh William esq 620771 620771 Brashagh, William, of Hagh, Lancs, esq 0
5193585 2413847 2413847 defendant Bradshawe William gent 620771 620771 Bradshawe, William, of Hagh, Lancs, gent 0
5223961 2422691 2422691 defendant Bradshawe William gent 620771 620771 Bradshawe, William, of Hagh, Lancs, gent 0

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 12.776ms