cso_get_vars {csodata} | R Documentation |
Returns a character vector listing the contents of a CSO data table
Description
Reads the metadata of a table to return a character vector of the included variables and statistics in the table.
Usage
cso_get_vars(table_code, cache = FALSE, 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 FALSE. |
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.
Examples
## Not run:
cso_get_vars("IPA03")
## End(Not run)
[Package csodata version 1.5.0 Index]