The goal is to provide a set of function to help the production of documents for reproducible research in the Unifrog House Style. It contains three main parts:
Functions for interaction with the Azure database, including a secure way to store credentials using the
keyring
package.A corporate
ggplot2
theme for Unifrog -unifrog_theme()
Corporate colour palettes including discrete, sequential and diverging versions.
Before Installation
Quarto
Install the latest version of Quarto
Fonts
Download Open Sans and Fira Code fonts on your system using this link.
Select All Styles
Download All
Open the zip file and in each font folder double-click any files ending in
.ttf
. There should be 2 for Open Sans and 1 for Fira CodeClick Install
Installing Required Packages
You can run the code this code to install most of the packages.
install.packages(c("devtools", "datawizard", "keyring", "DBI", "odbc", "ggtext", "glue", "ragg", "tidyverse", "insight", "unikn"))
Installation
You can install the development version of unifrog from GitHub with:
# install.packages("devtools")
devtools::install_github("IshmaelRoslan/UnifrogTools")
In RStudio
Tools > Global Options > General > Graphics
Set backend to AGG. (Better rendering.)
Tools > Global Options Set your default working directory to the projects folder on your hard drive.
Vignettes
See vignette("Azure")
to get setup your database connections, vignette("Palettes")
for examples of ggplot themes and palettes or view the online documentation here.