get_toggl_entries: Get weekly Toggl entries since date

Description Usage Arguments Details Value

Description

This method pull Toggl entries from the date provided to the preceeding Sunday and then format them into a clean dataframe. Make sure that your Toggl projects follow the Toggl project guidelines (see below)

Usage

1
get_toggl_entries(date = Sys.Date(), toggl_token, round = 5)

Arguments

date

the date to get the Toggl entries from. Should be class 'Date'.

toggl_token

the user's toggl token

Details

Make sure to follow the Toggl project format guidelines or this function will not work and (hopefully) produce an error. The required structure is as below:

For single bill codes: "Client Task 123456:001" or "Client Task 123456:001:002:003" for multiple tasks, time is split evenly

For multiple bill codes use the following structure: "Client Task 123456:001&987654:002" or "Client Task 123456:001&987654:002 80/20" or "Client Task 123456:001&987654:002&345678:003 60/20/20"

Ratios are optionally specified integers (no decimals) and do not need to sum 100.

Value

a data frame with billed hours.


sdanielzafar/NAVtrackr documentation built on May 29, 2019, 9:31 a.m.