R/yearago_quarter.R

#' Returns name of previous quarter, for within the bulletin.
#' @export

yearago_quarter <- function(){
  stringr::str_c("Q", params$quarter, " ", as.numeric(params$year) - 1, sep = "")
}
moj-analytical-services/kpow2 documentation built on May 31, 2019, 5:03 a.m.