R Packages

R
Software Development
R packages for data visualisation, data generation, accessing data from APIs, and implementing statistical methodology.

ggflowchart

Hex logo

ggflowchart is an R package for creating flowchart diagrams using ggplot2.

doi: 10.32614/CRAN.package.ggflowchart

CRAN: cran.r-project.org/web/packages/ggflowchart

GitHub: github.com/nrennie/ggflowchart

Documentation: nrennie.rbind.io/ggflowchart

messy

Hex logo

For the purposes of teaching, it is often desirable to show examples of working with messy data and how to clean it. The messy R package creates messy data from clean, tidy data frames so that students have a clean example to work towards.

doi: doi.org/10.32614/CRAN.package.messy

CRAN: cran.r-project.org/web/packages/messy

GitHub: github.com/nrennie/messy

Documentation: nrennie.rbind.io/messy

PrettyCols

Hex logo

PrettyCols is an R package containing aesthetically pleasing colour palettes. The structure of the package is based on code from the PNWColors, wesanderson, and MetBrewer packages.

doi: 10.32614/CRAN.package.PrettyCols

CRAN: cran.r-project.org/web/packages/PrettyCols

GitHub: github.com/nrennie/PrettyCols

Documentation: nrennie.rbind.io/PrettyCols

RSSthemes

Hex logo

RSSthemes is an R package for styling graphics for RSS publications. This package accompanies the Best Practices for Data Visualisation guidance, published by the Royal Statistical Society, which can be found at rss.org.uk/datavisguide.

doi: 10.32614/CRAN.package.RSSthemes

CRAN: cran.r-project.org/web/packages/RSSthemes

GitHub: github.com/nrennie/RSSthemes

Documentation: royal-statistical-society.github.io/datavisguide/docs/tools

aRt

Hex logo

aRt is an R package to create generative art, using ggplot2 graphics.

GitHub: github.com/nrennie/aRt

Documentation: nrennie.rbind.io/aRt

aRtData

Hex logo

aRtData is an R package containing data used in the aRt package. Data generating functions are available, and the data included in the package use the default values from the functions in aRt.

GitHub: github.com/nrennie/aRtData

Documentation: nrennie.rbind.io/aRtData

colorTools

Hex logo

colorTools is an R package containing helper functions for working with colours in R, including contrast checking and colour blending.

GitLab: gitlab.com/nrennie/colorTools

funcnetout

Hex logo

funcnetout is an R package for detecting functional outliers in a network setting, with options for online or offline detection.

GitHub: github.com/nrennie/funcnetout

Documentation: nrennie.rbind.io/funcnetout

ggalttext

Hex logo

ggalttext is an R package which generates alt text for plots created in ggplot2.

GitHub: github.com/nrennie/ggalttext

Documentation: nrennie.rbind.io/alttext

ggauto

Hex logo

ggauto is an opinionated ggplot2 extension package to automatically choose the best chart type and styling, based on the types and values in the data. The default styling is chosen to be more accessible and more readable than the default ggplot2 options.

GitHub: github.com/nrennie/ggauto

Documentation: nrennie.rbind.io/ggauto

ggtextcircle

Hex logo

ggtextcircle is a ggplot2 extension R package which contains geom and stat functions for plotting angled text in a (partial) circle.

GitHub: github.com/nrennie/ggtextcircle

LondonMarathon

Hex logo

LondonMarathon is an R package containing two data sets about London Marathon scraped from Wikipedia.

GitHub: github.com/nrennie/LondonMarathon

national.highways

Hex logo

national.highways is an R package to access the National Highways API from R.

GitHub: github.com/nrennie/national-highways

Documentation: nrennie.rbind.io/national-highways

simnetdemand

Hex logo

simnetdemand is an R package used to simulate demand patterns for different types of transport network.

GitHub: github.com/nrennie/simnetdemand

Documentation: nrennie.rbind.io/simnetdemand

usefunc

Hex logo

usefunc is an R package containing some additional useful functions.

GitHub: github.com/nrennie/usefunc

Documentation: nrennie.rbind.io/usefunc

WBLifeExpectancy

Hex logo

WBLifeExpectancy is an R package for analysing and visualising World Bank life expectancy data. It was created and used for the analysis in the Significance article We’re not getting any younger! Or should that be “older”?

GitHub: github.com/nrennie/WBLifeExpectancy

Documentation: nrennie.rbind.io/WBLifeExpectancy