Calculate with periods (format yyyymm)
Examples
yyyymm_calc(202412, add_month = 1)
#> [1] 202501
yyyymm_calc(c(202411,202412,202501), add_month = -1, add_year = 1)
#> [1] 202510 202511 202512
Calculate with periods (format yyyymm)
yyyymm_calc(202412, add_month = 1)
#> [1] 202501
yyyymm_calc(c(202411,202412,202501), add_month = -1, add_year = 1)
#> [1] 202510 202511 202512