Which day a week starts depends heavily on the either the local or professional context. This package is designed to be a lightweight solution to easily switching between week-based date definitions.
factor = TRUEwithout
floor_day = TRUEwill now issue a message indicating that this is deprecated in future versions of aweek (see #13).
aweekclass (see #1)
tzwas not being passed was fixed.
date2week(): an error is now issued if users specify non-ISO 8601 dates OR don't specify a
formatoption. (found: @scottyaz, #2)
week2date()can now take days represented as characters in the current or English locale.
factorargument, which will automatically compute the levels within the date range.
date2week()now properly accounts for dates in December that occur in the first week of the next year.
floor_daynow truncates the week instead changing the last digit to 1 for aesthetics. (Thanks to @aspina7 for the suggestion) q
print.aweek()now displays the day of the week in the current locale.
date2week()converts dates to
aweekobjects or character strings to dates
as.Date()does the same thing as above
NEWS.mdfile to track changes to the package.