home / cp40x

names

8 rows where place_id = 753548

✎ 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
4414164 2169335 2169335 defendant Sturmy John   753548 753548 Sturmy, John, of Sutton Sturmy 0
4414166 2169336 2169336 defendant Sturmy John   753548 753548 Sturmy, John, of Sutton Sturmy 0
4421347 2171579 2171579 defendant Sturmy John   753548 753548 Sturmy, John, of Sutton Sturmy 0
4421349 2171580 2171580 defendant Sturmy John   753548 753548 Sturmy, John, of Sutton Sturmy 0
4868328 2317070 2317070 defendant Hare Richard husbandman 753548 753548 Hare, Richard, of Sutton Sturmy, husbandman 3
4878669 2320270 2320270 defendant Fox William husbandman 753548 753548 Fox, William, of Sutton Sturmy, husbandman 5
4878670 2320270 2320270 defendant Brugge Richard husbandman 753548 753548 Brugge, Richard, of Sutton Sturmy, husbandman 6
4878677 2320270 2320270 defendant Wolley Walter husbandman 753548 753548 Wolley, Walter, of Sutton Sturmy, husbandman 13

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