CalculateHoursInMonths: Calculate number of hours in months

Description Usage Arguments Value Examples

View source: R/hours_counters.R

Description

Calculates number of dates in every month between (and including) the given dates. Missing values are omitted.

Usage

1
CalculateHoursInMonths(date_start, date_end)

Arguments

date_start

beginning of the period, Date or object coercible to date

date_end

end of the period, Date or object coercible to date

Value

data frame with columns: year (integer), month (integer), hour_count (integer)

Examples

1
CalculateHoursInMonths("2018-01-01", "2018-12-31")

bartekch/bchUtilities documentation built on May 7, 2019, 10:56 a.m.