cso_get_interval {csodata} | R Documentation |
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.
Usage
cso_get_interval(table_code, cache = TRUE, flush_cache = TRUE)
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 |
Value
character vector. The names of the statistics included in the table, with one element for each statistic.
Examples
## Not run:
interval <- cso_get_interval("C0636")
## End(Not run)
[Package csodata version 1.4.2 Index]