The tntpr
package contains an assortment of functions
and templates customized to meet the needs of data analysts at the
non-profit organization TNTP. It includes functions for branded colors
and plots, credentials management, repository set-up, and other common
analytic tasks.
Some of the highlights of the package include:
tntp_colors()
and tntp_palette()
functionstntp_style()
)tntp_cred()
functions for securely managing
credentials (passwords, API keys, etc.).factorize_df()
,
recode_to_binary()
, and functions for dealing with
check-all style questionsdate_to_sy()
to convert continuous hire dates into school
years using a specified cutoff date)wisc
), teacher data
(fake_county
) and survey data
(teacher_survey
)tntpr
is built to work with the tidyverse set of
packages.
tntpr
packageYou can install tntpr
from CRAN as follows:
install.packages('tntpr')
You can also install this package from its GitHub repository using
devtools
. If you do not have the devtools
package installed, you will have to run the first line in the code below
as well:
# install.packages('devtools')
::install_github('tntp/tntpr') devtools
Once installed, you load it like any other package.
library(tntpr)
Have a data problem you think tntpr
could help with?
Find a bug while working with the tntpr
package? Please
create an issue.