pts_get_timesheet: Get Time Sheet

Description Usage Arguments Value Examples

View source: R/get.R

Description

Obtain your Harvest Account ID and Personal Access Token by registering at Harvest Developers.

Usage

1
2
3
4
5
6
pts_get_timesheet(
  id = harvestR::harvest_id(),
  pat = harvestR::harvest_pat(),
  from = as.Date("2018-04-01"),
  to = Sys.Date()
)

Arguments

id

A string of the Harvest Account ID

pat

A string of the Harvest Personal Access Token

from

A date of the start date.

to

A Date of the end date.

Value

A tibble of the time sheet.

Examples

1
2
3
4
5
## Not run: 
timesheet <- pts_get_timesheet(from = as.Date("2018-12-23"), 
                               to = as.Date("2019-03-27"))

## End(Not run)

poissonconsulting/poistimesheets documentation built on Jan. 24, 2020, 4:54 a.m.