Install and load recodeflow

Install recodeflow

# Install release version from CRAN
install.packages("recodeflow")

# Install the most recent version from GitHub
devtools::install_github("Big-Life-Lab/recodeflow")

Load recodeflow

#Load the package
library(recodeflow)

Additional packages

Depending on how you use recodeflow you may need to load the following packages:

  • dplyr: to combine datasets
  • tidyr: to reorganize datasets
  • sjlabelled: to use functions like get_label()
  • haven: to use NAs with different meanings
  • stingr
  • magrittr