home / cp40x

names

8 rows where place_id = 793985

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4738621 2277168 2277168 defendant Holt William esq 793985 793985 Holt, William, of Aston, Warws, esq 0
4912748 2330490 2330490 defendant Erdern Robert esq 793985 793985 Erdern, Robert, of Aston, Warws, esq 1
4912753 2330491 2330491 defendant Ardern Robert esq 793985 793985 Ardern, Robert, of Aston, Warws, esq 0
5039880 2368570 2368570 defendant Holte John   793985 793985 Holte, John, of Aston, Warws, est 1
5043619 2369711 2369711 defendant Holt John esq 793985 793985 Holt, John, of Aston, Warws, esq 0
5043621 2369712 2369712 defendant Holt John esq 793985 793985 Holt, John, of Aston, Warws, esq 0
5043623 2369713 2369713 defendant Holt John esq 793985 793985 Holt, John, of Aston, Warws, esq 0
5043625 2369714 2369714 defendant Holt John esq 793985 793985 Holt, John, of Aston, Warws, esq 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 5.85ms