timeperiodsR-package {timeperiodsR}R Documentation

Simple Definition Of Time Intervals

Description

Simple definition of time intervals for the current, previous, and next week, month, quarter and year.

Details

The DESCRIPTION file:

Package: timeperiodsR
Type: Package
Title: Simple Definition Of Time Intervals
Version: 0.7.3
License: GPL-2
Authors@R: c(person(given = "Alexey", family = "Seleznev", role = c("aut", "cre"), email = "selesnow@gmail.com"))
Author: Alexey Seleznev [aut, cre]
Maintainer: Alexey Seleznev <selesnow@gmail.com>
Description: Simple definition of time intervals for the current, previous, and next week, month, quarter and year.
BugReports: https://github.com/selesnow/timeperiodsR/issues
URL: https://selesnow.github.io/timeperiodsR/, https://t.me/R4marketing, https://www.youtube.com/playlist?list=PLD2LDq8edf4qed2KVKfXmKdh0OQcdj9gw
Imports: lubridate
VignetteBuilder: knitr
Suggests: knitr, rmarkdown, httr
Encoding: UTF-8
Language: ru

Index of help topics:


as_timeperiod           Convert date or string vector to timeperiod.
check_dayoffs           Check if the day is an official day off
custom_period           Custopm period
first_weekend           Get first weekend day in period.
first_workday           Get first workday day in period.
last_n_days             Start and end of last n days
last_n_months           Start and end of last n months
last_n_quarters         Start and end of last n quarters
last_n_weeks            Start and end of last n weeks
last_n_years            Start and end of last n years
last_weekend            Get last weekend day in period.
last_workday            Get last workday day in period.
next_month              Start and end of next month
next_n_days             Start and end of next n days
next_n_months           Start and end of next n months
next_n_quarters         Start and end of next n quarters
next_n_weeks            Start and end of next n weeks
next_n_years            Start and end of next n weeks
next_quarter            Start and end of next quarter
next_week               Start and end of next week
next_year               Start and end of next year
previous_month          Start and end of previous month
previous_quarter        Start and end of previous quarter
previous_week           Start and end of previous week
previous_year           Start and end of previous year
this_month              Start and end of month
this_quarter            Start and end of quarter
this_week               Start and end of week
this_year               Start and end of year
timeperiodsR-package    Simple Definition Of Time Intervals
weekends                Get vector with weekends.
weekends_length         Number of weekdends days in the period.
workdays                Get vector with workdays.
workdays_length         Number of workdays in the period.

Author(s)

Alexey Seleznev [aut, cre]

Maintainer: Alexey Seleznev <selesnow@gmail.com>


[Package timeperiodsR version 0.7.3 Index]