https://github.com/enricoschumann/datetimeutils
R utilities for working with dates and times
https://github.com/enricoschumann/datetimeutils
calendar date datetime datetimeutils timezone
Last synced: 9 months ago
JSON representation
R utilities for working with dates and times
- Host: GitHub
- URL: https://github.com/enricoschumann/datetimeutils
- Owner: enricoschumann
- Created: 2016-02-12T13:12:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-02T07:50:27.000Z (over 1 year ago)
- Last Synced: 2025-03-29T17:51:09.494Z (10 months ago)
- Topics: calendar, date, datetime, datetimeutils, timezone
- Language: R
- Size: 180 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
# datetimeutils
Utilities for handling dates and times, such as
selecting particular days of the week or month,
formatting timestamps as required by RSS feeds, or
converting timestamp representations of other software
(such as 'MATLAB' and 'Excel') to R. The package is
lightweight (no dependencies, pure R implementations)
and relies only on R's standard classes to represent
dates and times ('Date' and 'POSIXt'); it aims to
provide efficient implementations, through
vectorisation and the use of R's native numeric
representations of timestamps where possible.
[ [More] ](https://enricoschumann.net/R/packages/datetimeutils/)
## Installing the package
The latest released version is available from
https://enricoschumann.net. In an R session, just type:
install.packages('datetimeutils', type = 'source',
repos = c('https://enricoschumann.net/R', getOption('repos')))
For the latest development version, check out the Git repository and
build it. In a shell (e.g. sh or bash):
## FIRST-TIME INSTALLATION
#### cd to parent directory and ...
$ git clone https://git.sr.ht/~enricoschumann/datetimeutils
#### build and install the package
$ R CMD build datetimeutils
$ R CMD INSTALL datetimeutils_0.6-5.tar.gz ## adjust version number
#### optionally check
$ R CMD check datetimeutils_0.6-5.tar.gz ## adjust version number
## UPDATING
#### later: cd to parent directory and ...
$ cd datetimeutils
$ git pull
$ cd ..
$ R CMD build datetimeutils
$ R CMD INSTALL datetimeutils_0.6-5.tar.gz ## adjust version number