unpack_years | R Documentation |
Unpack a vector of "packed years" (like RY or PY) inside a tibble
unpack_years(input_data, year_var = NULL, verbose = getOption("verbose"))
input_data |
tabular data |
year_var |
character or 'NULL' |
verbose |
display messages |
Might be slow and need optimization
[RY()] [PY()]
input_data <- data.frame(year = c("RY(2007:2009)", "RY(2001)"), ems_qty = c(111, 22)) unpack_years(input_data, year_var = "year") unpack_years(input_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.