Model Code Repository

Coming soon! The Virtual Academy model code repository will give 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 will include code to help reduce time spent compiling reports, tables, and visualizations.

Additionally, all templates will 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 will also allow analysts to replicate existing, relevant analyses of reports available to the public including the following: