home / cp40x

names

9 rows where case_id = 2245770

✎ 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
4649040 2245770 2245770 plaintiff Tottesham Thomas tailor 586033 586033 Tottesham, Thomas, of Westminster, tailor 0
4649041 2245770 2245770 defendant Muntford Thomas   615552 615552 Muntford, Thomas, of Devon 0
4649042 2245770 2245770 defendant Wydecombe Thomas   596561 596561 Wydecombe, Thomas, of Bath, Soms 1
4649043 2245770 2245770 defendant Clyfton John   777747 777747 Clyfton, John, of Bamylston, parson 2
4649044 2245770 2245770 defendant Ferrour William   596238 596238 Ferrour, William, of Suffolk 3
4649045 2245770 2245770 defendant Messager Bartholomew   777748 777748 Messager, Bartholomew, of Norfolkd 4
4649046 2245770 2245770 defendant Brampton James esq   Brampton, James, esq 5
4649047 2245770 2245770 defendant Stoppesley Edward   671356 671356 Stoppesley, Edward, of Bedfordshire 6
4649048 2245770 2245770 defendant Lakenham William   777749 777749 Lakenham, William, of Walsham, Suffolk 7

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