timeEntries: Find Time Entries in given range

Description Usage Arguments Value Examples

Description

Find Time Entries which have at least one millisecond in common with provided time range.

Usage

1
timeEntries(stoppedAfter, startedBefore, token, as_df = TRUE)

Arguments

stoppedAfter

Timestamp which matches all time entries stopped after it. Eg. 2017-01-01T00:00:00.000.

startedBefore

Timestamp which matches all time entries started before it. Eg. 2017-12-31T23:59:59.999.

token

Token obtained with signIn

as_df

If TRUE a data frame is returned, if FALSE a list is returned.

Value

A data frame or list containing id (id), activity id (activityId), project name (name), color (color), integration (integration), started at (startedAt), stopped at (stoppedAt) and a note (note).

Examples

1
2
3
4
stoppedAfter <- "2017-09-17T00:00:00.000"
startedBefore <- "2017-09-19T00:00:00.000"
token <- "123456789"
timeEntries(stoppedAfter, startedBefore, token, as_df = TRUE)

Steensson/timeulaR documentation built on May 12, 2019, 5:39 a.m.