home / cp40x

names

7 rows where place_id = 852813

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5145587 2399852 2399852 defendant Holt John esq 852813 852813 Holt, John, of Aston by Birmingham, Warws, esq 4
5150933 2401410 2401410 defendant Holt John esq 852813 852813 Holt, John, of Aston by Birmingham, Warws, esq 0
5169239 2406742 2406742 defendant Holt John esq 852813 852813 Holt, John, of Aston by Birmingham, Warws, esq 0
5185878 2411618 2411618 defendant Holt John esq 852813 852813 Holt, John, of Aston by Birmingham, Warws, esq 0
5195810 2414521 2414521 defendant Albode John clerk 852813 852813 Albode, John, of Aston by Birmingham, Warws, clerk 4
5195816 2414522 2414522 defendant Albode John clerk 852813 852813 Albode, John, of Aston by Birmingham, Warws, clerk 4
5195822 2414523 2414523 defendant Albode John clerk 852813 852813 Albode, John, of Aston by Birmingham, Warws, clerk 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 12.009ms