The goal of rsurveyutils is to provide basic functionality for preprocessing and analyzing data.
install.packages("devtools")
devtools::install_github("amehtaSF/rsurveyutils")
[ ] codebook_recoder doesn't work on nature study 2b project when installed from github, but works from globalenv. Particularly, the trycatch in as.numeric conversion
[ ] need tests
[ ] need tests [ ] adapt for windows paths
Following workflow from R Packages e-book.
library(devtools); library(usethis); library(testthat);
.use_r()
function to create a matched script and test file in appropriate directories (R/
and tests/testthat/
). load_all()
.check()
to test that package fully works. (Also see test()
.)document()
to add documentation. use_package()
to add a package to DESCRIPTION.install()
.renv::update()
to update R packagescodebook_recoder()
codebook_renamer()
tally_scale()
to_sd_categories()
cor_matrix_kbl()
scale()
recent_date_dir()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.