inst/template/Package/extras/codeToRun.R

library(magrittr)

projectPath <- rstudioapi::getActiveProject()

# specifications
source(paste0(projectPath, '/specifications/atlasIds.R'))
source(paste0(projectPath, '/specifications/connections.R'))
source(paste0(projectPath, '/specifications/dataSources.R'))
source(paste0(projectPath, '/specifications/utils.R'))
source(paste0(projectPath, '/specifications/colorPalette.R'))

# run based on project
source(paste0(projectPath, '/extras/getCdmSources.R'))
source(paste0(projectPath, '/extras/getOhdsiResultsTables.R'))


# source(paste0(projectPath, '/extras/copyOhdsiResultsFromRemoteToLocal.R'))
# source(paste0(projectPath, '/extras/getIncidenceRateDataUsingCohortDiagnostics.R'))
gowthamrao/StudyManagement documentation built on March 9, 2020, 10:48 p.m.