Package: aweek 1.0.2
aweek: Convert Dates to Arbitrary Week Definitions
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.
Authors:
aweek_1.0.2.tar.gz
aweek_1.0.2.zip(r-4.5)aweek_1.0.2.zip(r-4.4)aweek_1.0.2.zip(r-4.3)
aweek_1.0.2.tgz(r-4.4-any)aweek_1.0.2.tgz(r-4.3-any)
aweek_1.0.2.tar.gz(r-4.5-noble)aweek_1.0.2.tar.gz(r-4.4-noble)
aweek_1.0.2.tgz(r-4.4-emscripten)aweek_1.0.2.tgz(r-4.3-emscripten)
aweek.pdf |aweek.html✨
aweek/json (API)
NEWS
# Install 'aweek' in R: |
install.packages('aweek', repos = c('https://zkamvar.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/reconhub/aweek/issues
Pkgdown:https://www.repidemicsconsortium.org
date-formattingdatesepidemiologytimeseriesweek
Last updated 4 years agofrom:12785ec362. Checks:OK: 1 ERROR: 6. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 28 2024 |
R-4.5-win | ERROR | Nov 28 2024 |
R-4.5-linux | ERROR | Nov 28 2024 |
R-4.4-win | ERROR | Nov 28 2024 |
R-4.4-mac | ERROR | Nov 28 2024 |
R-4.3-win | ERROR | Nov 28 2024 |
R-4.3-mac | ERROR | Nov 28 2024 |
Exports:as.aweekchange_week_startdate2weekfactor_aweekget_aweekget_dateget_week_startset_week_startweek2date
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Convert dates to weeks and back again | aweek-package aweek |
Convert characters or dates to aweek objects | as.aweek as.aweek.aweek as.aweek.character as.aweek.Date as.aweek.default as.aweek.factor as.aweek.NULL as.aweek.POSIXt |
Convert aweek objects to a data frame | as.data.frame.aweek |
Convert aweek objects to characters or dates | as.character.aweek as.Date.aweek as.POSIXlt.aweek |
Change the week start of an aweek object | change_week_start |
Convert date to a an arbitrary week definition | date2week week2date |
Coerce an aweek object to factor to include missing weeks | factor_aweek |
Convert week numbers to dates or aweek objects | get_aweek get_date |
The aweek class | as.list.aweek aweek-class c.aweek print.aweek rep.aweek trunc.aweek [.aweek [<-.aweek [[.aweek |
Get and set the global week_start variable | get_week_start set_week_start |