Get all the values for a given series
Usage
get_metadata_series_values(
codSeries = NULL,
det = 0,
tip = NULL,
lang = "ES",
validate = TRUE,
verbose = FALSE
)
Arguments
- codSeries
(string): code of the series. For further information about codes click this link.
- det
(int): level of detail. Valid values: 0, 1 or 2.
- tip
(string): set to 'A' for friendly output (e.g. readable dates), set to 'M' to include metadata or set to 'AM' for both.
- lang
(string): language of the retrieved data. Set to 'ES' for Spanish or set to 'EN' for English.
- validate
(logical): validate input parameters.
- verbose
(logical): print additional information, including the URL to call the API service.
Value
Data frame with information of the values of a series according to the code specified in the function
Examples
if (FALSE) { # interactive()
# Get metadata of time series with code "IPC206449"
df <- get_metadata_series_values(codSeries = "IPC206449")
head(df)
}