Model Code Repository

Access the Code Repository

The Virtual Academy model code repository gives corrections analysts access to a variety of code templates written in the R statistical programming language to improve data analytic efficiency and accuracy. This repository includes code to help reduce time spent compiling reports, tables, and visualizations.

Additionally, all templates encourage reproducibility to prevent data discrepancies and simplify common time-consuming tasks. Interested analysts can immediately use these templates to do the following:

  • Easily access publicly available census data.
  • Clean and manipulate population and corrections data for reporting.
  • Calculate relevant metrics.
  • Produce meaningful, digestible data visualizations.

Finally, several templates also allow analysts to replicate existing, relevant analyses of reports available to the public including the following: