cso_get_interval: Returns a the time interval used to record data in a CSO table
Description
Reads the metadata of a table to return an atomic character vector
displaying the intervals at which the data included in the table was
gathered/calculated.
character vector. The names of the statistics included in the
table, with one element for each statistic.
Arguments
table_code
string. A valid code for a table on data.cso.ie .
cache
logical. Whether to use cached data, if available.
Default value is TRUE. Strongly recommended to use caching, as otherwise
the entire table could be downloaded only to access a small part of its
metadata.
flush_cache
logical. If TRUE (default) the cache will be checked for old, unused
files. Any files which have not been accessed in the last month will be deleted