check_data_item_version.Rd
Currently, "B1610" is the only data item that no longer supports v1 and equally is the only data item that supports v2.
check_data_item_version(data_item, version = 1, silent = TRUE)
data_item | character; the data item to check |
---|---|
version | character/numeric; the API version, either as a number (e.g. |
silent | boolean; whether to show a warning if that version is not valid for the provided data item. Default is TRUE. |
boolean; returns TRUE
if data_item is valid for the provided version, FALSE
if it is not
check_data_item_version("B1610", 1)#> [1] FALSEcheck_data_item_version("B1710", 1)#> [1] TRUE