home / cp40x

names

6 rows where place_id = 616902

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3716717 1931521 1931521 defendant Thornham James raffman 616902 616902 Thornham, James, of Sneterby, raffman 0
4524819 2208100 2208100 defendant Caudeler Lawrence   616902 616902 Caudeler, Lawrence, of Sneterby 0
4524820 2208100 2208100 defendant Bekeby Richard   616902 616902 Bekeby, Richard, of Sneterby 1
4586608 2227221 2227221 defendant Lilly John   616902 616902 Lilly, John, of Sneterby 0
5182505 2410638 2410638 defendant Boys Richard gent 616902 616902 Boys, Richard, of Sneterby, gent 0
5233899 2425502 2425502 plaintiff Coke Richard   616902 616902 Coke, Richard, of Sneterby 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 19.913ms