Repo Owner: Scott Jackson @jacksonsj
- Go to https://cran.rstudio.com/ to download and install R. Leave all default settings in the installation options.
- Go to https://rstudio.org/download/desktop/ to download and install R Studio. Leave all default settings in the installation options.
- Open RStudio on your computer.
- Go to the “Packages” tab and click on “Install Packages”. The first time you do this you’ll be prompted to choose a CRAN mirror. R will download all necessary files from the server you select here. Choose the location closest to you.
- Type in "devtools". Ensure that "Install dependencies" is checked, and click "Install". If you get permission errors while installing packages, close RStudio and reopen it with administrator privileges.
- Open a new R Script in RStudio.
- Copy and paste the following into that new file:
library(devtools)
install_github(repo = "https://github.com/pepfar-datim/datapackr.git", ref = "master")
library(datapackr)
- Hit the
Run
button. - If you are prompted in the Console to select which packages to update, just hit Enter to bypass.
- If this presents issues, contact the development team via DATIM Support (DATIM users only).
- If the package loads without issue, restart your R session.
- Copy, paste, and run the following code in RStudio — make sure to insert your actual DATIM username and password.:
loginToDATIM(username = "MyUsername", password = "MyPassword123", base_url = "https://www.datim.org/")
d <- unPackTool()
- When prompted, select the location of the file you would like to check. This must be saved as an XLSX file.
- Once automated reviews are completed, you can see any warnings that were generated in the RStudio Console.
Have a question? Find us on DATIM Support (DATIM users only).