pipeline_template.R

dataPipeLine <- function() {
  # Load pakcages/setup code ------------------------------------------------
  # eg:
  # install.packages("dplyr")
  # library(dplyr)
  

  # Load custom functions ---------------------------------------------------
  # eg:
  # myFunc <- function(x) {return(x^2)}
 

  # Loading Data ------------------------------------------------------------
  # DO NOT EDIT - this will load your data as specified in the app
  # TODO - this will call our function that reads the metatdata completed by the user this
  # TODO - add checks to ensure that the data loads correctly (potential issues in xlsx files where rows start in row 3 or 5 etc)

  # User Code ---------------------------------------------------------------
  # Paste your code here
  # TODO test your 

  # Return data -------------------------------------------------------------
  # add return statement to return a single dataframe
  # e.g.:
  # return(myCleanDataframe)
  # TODO - add a check to see if the data retuned by the pipeline function is a dataframe use checkmate package
}
ShenJianWHy/Exploratory-Data-Analysis documentation built on Dec. 31, 2020, 4:31 p.m.