Upload beta dictionaries to your Opal instance

du.upload.beta(
  upload = TRUE,
  dict_name = "",
  action = du.enum.action()$ALL,
  data_input_path = "",
  data_input_format = du.enum.input.format()$CSV,
  database_name = "opal_data",
  run_mode = du.enum.run.mode()$NORMAL
)

Arguments

upload

do we need to upload the DataSHIELD backend

dict_name

name of the dictionary located on Github usually something like this: diabetes/test_vars_01

action

action to be performed, can be 'reshape', 'populate' or 'all'

data_input_path

path to the to-be-reshaped data

data_input_format

format of the database to be reshaped. Can be 'CSV', 'STATA', or 'SAS'

database_name

is the name of the data backend of DataSHIELD, default = opal_data

run_mode

default = NORMAL, can be TEST and NON_INTERACTIIVE