new_code_run: Post entry to code_run table

Description Usage Arguments See Also

View source: R/new_code_run.R

Description

Upload information to the code_run table in the data registry

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
new_code_run(
  run_date,
  description,
  code_repo_url,
  model_config_url,
  submission_script_url,
  inputs_urls = list(),
  outputs_urls = list(),
  endpoint = "http://localhost:8000/api/"
)

Arguments

run_date

the date-time of the code_run e.g. Sys.time() or "2010-07-11 12:15:00 BST"

description

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

code_repo_url

(optional) a string specifying the URL of an object associated with the code_repo_release that was run

model_config_url

(optional) a string specifying the URL of an object associated with the working config file used for the code_run

submission_script_url

(optional) a string specifying the URL of an object associated with the submission script used for the code_run

inputs_urls

a list of object_component URLs referencing code_run inputs

outputs_urls

a list of object_component URLs referencing code_run outputs

endpoint

a string specifying the registry endpoint

See Also

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


rDataPipeline documentation built on Nov. 18, 2021, 1:14 a.m.