# First a basic example
x <- seq.Date(as.Date("1999-01-01"), as.Date("2000-01-01"), by = "month")
am_expand_date(x)
am_expand_date(x, gen = .AMT[-1L], keep.date = FALSE)
# \donttest{
# Now using the API
am_expand_date(am_data("KEN"))
# Same thing
am_data("KEN", expand.date = TRUE)
# }
Run the code above in your browser using DataLab