create_category: Add a new category to this project.

create_categoryR Documentation

Add a new category to this project.

Description

Add a new category to this project.

Usage

create_category(name, conn)

Arguments

name

Unique (lowercase) category name in the project

conn

gor connection structure, create it using platform_connect

Value

a list of category attrbues

Examples

## Not run: 
api_key <- Sys.getenv("GOR_API_KEY")
project <- Sys.getenv("GOR_PROJECT")
conn <- platform_connect(api_key, project)
name <- "testCat1"
category <- create_category(name, conn)

## End(Not run)

wuxi-nextcode/gorr documentation built on Jan. 1, 2023, 7:54 a.m.