home / cp40x

names

7 rows where place_id = 773997

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4607089 2233331 2233331 defendant Selly John   773997 773997 Selly, John, of Hyworthe 0
4614667 2235600 2235600 defendant Ferour Thomas   773997 773997 Ferour, Thomas, of Hyworthe 0
4614668 2235600 2235600 defendant Ferour John   773997 773997 Ferour, John, of Hyworthe 1
4614669 2235600 2235600 defendant Pyle William   773997 773997 Pyle, William, of Hyworthe 2
4614670 2235600 2235600 defendant Couper John   773997 773997 Couper, John, of Hyworthe 3
4631214 2240660 2240660 defendant Taillour Robert   773997 773997 Taillour, Robert, of Hyworthe 6
4648669 2245665 2245665 defendant Taillour Robert   773997 773997 Taillour, Robert, of Hyworthe 6

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