View source: R/get_BCCh_data.R
get_bcch_data | R Documentation |
get_bcch_data
parses an .iqy file generated by the Statistical Database
of the Central Bank of Chile (BCCh), gets the required data from their server,
and returns it as a data frame.
get_bcch_data(path_to_iqy, q_values, ...)
path_to_iqy |
the path to the .iqy file. Can be a relative path. |
q_values |
a character vector (or something that can be coerced to it). Should contain the values for every parameter in the query, in adequate order. Parameters are almost always start and end date, but use only if you are sure of this. If missing, the program will ask the user to input these values. |
... |
arguments passed to |
A data frame containing the requested data and with the following attributes:
data_def
: definition of the data requested
data_types
: type of data stored in each column
Vist the BCCh database at https://si3.bcentral.cl/siete.
## Not run: # this should ask the user for a start and an end date get_bcch_data("UF_IVP_DIARIO.iqy") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.