gp_api_unit_insert: Insert a new GP unit into the database

gp_api_unit_insertR Documentation

Insert a new GP unit into the database

Description

Insert (i.e. add) a new unit to MongoDB using the GP API.

Usage

gp_api_unit_insert(WD = "?", dev = NULL, verbosity = 1)

Arguments

WD

working directory, passed to parse_wd();default="?"

dev

logical; if FALSE, gets catalog from the production gp-catalog. Otherwise, from the dev catalog. NULL (default) will apply to both dev and prod catalogs.

verbosity

passed to httr2::req_perform(); default=1

Value

success (logical)

See Also

Other GP API: gp_api_get_token(), gp_api_query(), gp_api_query_users(), gp_api_unit_delete(), gp_api_unit_replace()


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.