/datapackr

Primary LanguageRCreative Commons Zero v1.0 UniversalCC0-1.0

datapackr: A package for packing and unpacking Data Packs.

Repo Owner: Scott Jackson @jacksonsj

Installation

  1. Download R from http://cran.us.r-project.org/
  2. Install R. Leave all default settings in the installation options.
  3. Download RStudio from http://rstudio.org/download/desktop and install it. Leave all default settings in the installation options.
  4. Open RStudio
  5. 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.
  6. 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.
  7. Open a new R Script in RStudio.
  8. 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)
  1. Hit the Run button.
  2. If you are prompted in the Console to select which packages to update, just hit Enter to bypass.
  3. If this presents issues, contact the development team either through a GitHub ticket, or via DATIM Support (DATIM users only).
  4. If the package loads without issue, restart your R session.
  5. Copy, paste, and run the following code in RStudio:
d <- unPackData()
  1. When prompted, select the location of the file you would like to check. This must be saved as an XLSX file.
  2. Once automated reviews are completed, you can see any warnings that were generated in the RStudio Console.

Have a question? Find us on GitHub or DATIM Support (DATIM users only).

CircleCI