This function allows you to create a tag.

createTag(user, name)

Arguments

user

A labstep user object. Must contain an `api_key` field. Returned from `login` command

name

The name of the tag.

Value

Returns an `tag` object

Examples

user <- login("demo@labstep.com","demopassword") tag <- createTag(user,'MyTag') print(tag)
#> $message #> $message[[1]] #> $message[[1]]$property #> [1] "[type]" #> #> $message[[1]]$message #> [1] "This field is missing." #> #> #>