new_object: Post entry to object table

View source: R/new_object.R

new_objectR Documentation

Post entry to object table

Description

Upload information to the object table in the data registry

Usage

new_object(
  description,
  storage_location_url,
  authors_url,
  file_type_url,
  endpoint = "http://127.0.0.1:8000/api/"
)

Arguments

description

(optional) a string containing a free text description of the object

storage_location_url

(optional) a string specifying the URL of an entry in the storage_location table

authors_url

(optional) a list of author URLs associated with this object

file_type_url

(optional) a string specifying the URL of an entry in the file_type table

endpoint

a string specifying the registry endpoint

See Also

Other new functions: new_author(), new_code_repo_release(), new_code_run(), new_data_product(), new_external_object(), new_file_type(), new_issue(), new_keyword(), new_licence(), new_namespace(), new_object_component(), new_quality_controlled(), new_storage_location(), new_storage_root(), new_user_author()


rDataPipeline documentation built on Oct. 8, 2024, 5:06 p.m.