Helper R package to assist the design of R products for New Zealand Police's (NZP) National Road Policing Centre (NRPC).
Will contain useful functions and non-private data for quick reference and auto-formatting, i.e.
- loading the approved NZP colours as an R theme, for use in graphing
- pulling in and pushing out files from arbitrary paths, read from elsewhere and stored in env instead of as plaintext in codebase
- means that file path and/or file doesnt need to be written inside the code
This is NOT to be used to store filepaths, actual files or data on NZP processes/people.
- Install the required packages for loading non-CRAN packages
- Load this package
install.packages("devtools") # only have to do this if `devtools` has never been installed before
install.packages("stringr") # only have to do this if `stringr` has never been installed before
devtools::install_github("Argel-Tal/NZPoliceUtilities")
library("NZPoliceUtilities")
ls("package:NZPoliceUtilities")
- Convert this to binaries so it can be loaded without Rtools 🙄😠
- Phone:
+64 21 846 817
- Email:
jack.maccormick@police.govt.nz
- How to make R packages: blog post
- README design: R package
tinyutils