editActivity: Edit an Activity

Description Usage Arguments Value Examples

Description

With this function you can edit the activity name or color.

Usage

1
2
editActivity(activityId = NULL, name = "being fucking awesome",
  color = "#000000", token, as_df = TRUE)

Arguments

activityId

ID of an Activity, eg. 123.

name

The name you want the activity changed to.

color

The color you want the activity changed to.

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 with id, name, color, integration and deviceSide (NULL).

Examples

1
2
token <- "123456789"
editActivity(activityId = NULL, name = "being fucking awesome", color = "#000000", token, as_df = TRUE)

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