cepiweek: Continuous Epidemiological Week Indexing for Time-Series Analysis

Provides a simple algorithm to generate a continuous epidemiological week index from date variables in a data frame. Weeks are computed as sequential 7-day intervals aligned to Mondays, starting from the earliest observed date or from a user-supplied start date. They do not reset at calendar year boundaries and are not ISO 8601 nor MMWR calendar weeks. Missing or non-convertible dates are returned as NA instead of stopping the computation. The approach is intended for epidemiological modeling and time-series analysis where temporal continuity is required.

Version: 0.2.0
Imports: lubridate
Suggests: testthat (≥ 3.1.5)
Published: 2026-10-13
DOI: 10.32614/CRAN.package.cepiweek
Author: Daniel Degina [aut, cre], Joel Mbuyi [ctb]
Maintainer: Daniel Degina <deginadan at gmail.com>
BugReports: https://github.com/DanielDegina/cepiweek/issues
License: MIT + file LICENSE
URL: https://github.com/DanielDegina/cepiweek
NeedsCompilation: no
Materials: README
CRAN checks: cepiweek results

Documentation:

Reference manual: cepiweek.html , cepiweek.pdf

Downloads:

Package source: cepiweek_0.2.0.tar.gz
Windows binaries: r-devel: cepiweek_0.1.2.zip, r-release: cepiweek_0.1.2.zip, r-oldrel: cepiweek_0.1.2.zip
macOS binaries: r-release (arm64): cepiweek_0.1.2.tgz, r-oldrel (arm64): cepiweek_0.1.2.tgz, r-release (x86_64): cepiweek_0.1.2.tgz, r-oldrel (x86_64): cepiweek_0.1.2.tgz
Old sources: cepiweek archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cepiweek to link to this page.