home / cp40x

names

5 rows where place_id = 618779

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3726363 1934515 1934515 defendant Wellall John clerk 618779 618779 Wellall, John, of ork, clerk 1
3776940 1950531 1950531 plaintiff Carlile Robert dyer 618779 618779 Carlile, Robert, of ork, dyer 0
4498061 2200041 2200041 defendant Sutton Robert tanner 618779 618779 Sutton, Robert, of ork, tanner 0
4806735 2298317 2298317 defendant Thorp John gent 618779 618779 Thorp, John, of ork, gent 0
5602909 2535797 2535797 defendant Chapman William vintner 618779 618779 Chapman, William, of ork, vintner 1

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.685ms