Description Usage Arguments Value
View source: R/istacbaseperiodos2POSIXct.R
Add a POSIXct date column as well as a column with the appropreiate granularity to a ISTACBASE API return
1 | istacbaseperiodos2POSIXct(df, date_col)
|
df |
data frame returned from API call |
date_col |
name of the current date field |
If the package lubridate (>= 1.5.0) is available the original data frame with two new columns,
fecha
and periodicidad
is returned. If the above package is not available,
the orignal data frame is returned unaltered with an additional warning message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.