Steps to follow for uploading server-side functions:
- In the opal server click the Administration option and under the Data Analysis section click the DataSHIELD option.
- Under the section Methods choose the type of your function; Aggregate or Assign.
Aggregate functions are the functions that return non-disclosive information to the client
Assign functions are the functions that do not return their output to the client but rather save it on the server
- Then click the option Add Method, write the Name of your function and choose the Type R script.
- Under the section Function copy and paste your code without copying the name of the function.
Note: If you want to check and use the new uploaded function you should re-login to the servers from the client-side.