Package: tntpr 1.1.0

Dustin Pashouwer

tntpr: Data Analysis Tools Customized for TNTP

An assortment of functions and templates customized to meet the needs of data analysts at the non-profit organization TNTP. Includes functions for branded colors and plots, credentials management, repository set-up, and other common analytic tasks.

Authors:Dustin Pashouwer [aut, cre], Sam Firke [aut], Shane Orr [aut], Sam Talcott [aut]

tntpr_1.1.0.tar.gz
tntpr_1.1.0.zip(r-4.5)tntpr_1.1.0.zip(r-4.4)tntpr_1.1.0.zip(r-4.3)
tntpr_1.1.0.tgz(r-4.4-any)tntpr_1.1.0.tgz(r-4.3-any)
tntpr_1.1.0.tar.gz(r-4.5-noble)tntpr_1.1.0.tar.gz(r-4.4-noble)
tntpr_1.1.0.tgz(r-4.4-emscripten)tntpr_1.1.0.tgz(r-4.3-emscripten)
tntpr.pdf |tntpr.html
tntpr/json (API)
NEWS

# Install 'tntpr' in R:
install.packages('tntpr', repos = c('https://tntp.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tntp/tntpr/issues

Datasets:
  • fake_county - Fake teacher roster dataset from OpenSDP
  • teacher_survey - Teacher survey data
  • wisc - Fake student data from the Wisconsin State Dept. of Ed

On CRAN:

5.92 score 7 stars 9 scripts 184 downloads 39 exports 87 dependencies

Last updated 2 months agofrom:fd9d8b6838. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winOKNov 21 2024
R-4.5-linuxOKNov 21 2024
R-4.4-winOKNov 21 2024
R-4.4-macOKNov 21 2024
R-4.3-winOKNov 21 2024
R-4.3-macOKNov 21 2024

Exports:bar_chart_countscheck_all_countcheck_all_recodechoose_text_colorcolors_tntpcolors_tntp_likertcolors_tntp_likert_orange_to_greencolors_tntp_palettedate_to_syfactorize_dffigureNheader_tntpimport_segoe_uilabelled_to_factorspalette_namespalette_tntppalette_tntp_scalesposition_divergerecode_to_binaryscale_color_tntpscale_colour_tntpscale_fill_tntpset_data_memo_formattingsetup_reposetup_subdirectoryshow_in_excelshow_tntp_colorsshow_tntp_palettetableNtheme_tntptheme_tntp_2018tntp_colorstntp_credtntp_cred_listtntp_cred_settntp_palettetntp_styleupdate_geom_font_defaultsupdate_tntpr

Dependencies:askpassassertthatbase64encbitbit64bslibcachemclicliprcolorspacecpp11crayondigestdplyrevaluateextrafontextrafontdbfansifarverfastmapfilelockfontawesomeforcatsformattablefsgenericsggplot2gluegtablehavenhighrhmshtmltoolshtmlwidgetsisobandjanitorjquerylibjsonlitekeyringknitrlabelinglabelledlatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerreadrrlangrmarkdownrstudioapiRttf2pt1sassscalessnakecasesodiumstringistringrsystibbletidyrtidyselecttimechangetinytextzdbutf8vctrsviridisLitevroomwithrxfunyaml

TNTP Visualization Cookbook

Rendered fromvisualization-cookbook.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-09-19
Started: 2023-10-04

Readme and manuals

Help Manual

Help pageTopics
Title.onAttach
Bar chart of counts with TNTP polishbar_chart_counts
Tabulate a range of check-all-that-apply response columns in a single table.check_all_count
Process a range of check-all-that-apply response columns for correct tabulation.check_all_recode
Get contrasting text colors for fillschoose_text_color
TNTP colorscolors_tntp
Likert pallettecolors_tntp_likert
Likert orange to green pallettecolors_tntp_likert_orange_to_green
TNTP pallettecolors_tntp_palette
Convert a date value into its school year.date_to_sy
Convert all character vectors containing a set of values in a data.frame to factors.factorize_df
Fake teacher roster dataset from OpenSDPfake_county
Create sequential figure numbersfigureN
Checks if a font family is usable and returns a usable font if notget_usable_family
Insert header_script_tntp.header_tntp
Import Segoe UI Condensed font for use in chartsimport_segoe_ui
Validate color inputsis_color
Convert all 'labelled'-class columns to factors.labelled_to_factors
Pallette namespalette_names
TNTP branded color palettespalette_tntp
scale_palette_tntppalette_tntp_scales
Attempt to parse a date with common formatsparse_date
Easy Diverging Bar Chartsposition_diverge
Calculate the percent of non-missing values in a character vector containing the values of interest. This is a helper function for factorize_df().prop_matching
Recode a variable into binary groups, e.g., "Top-2" and "Not in Top-2".recode_to_binary
scale_color_tntp/scale_fill_tntpscale_color_tntp scale_colour_tntp scale_fill_tntp
Set the formatting options for a TNTP Data Memoset_data_memo_formatting
Initialize a new repository, and a single subfolder, TNTP style.setup_repo
Initialize a new subdirectory in an existing repository, TNTP style.setup_subdirectory
Write Dataframe to a temp excel file and open it.show_in_excel
Update case of a character vectorstandardize_case
Create sequential table numberstableN
Teacher survey datateacher_survey
TNTP's ggplot2 themetheme_tntp
A precise & pristine ggplot2 theme with opinionated defaults and an emphasis on typographytheme_tntp_2018
TNTP Brand Colorsshow_tntp_colors tntp_colors
TNTP Credential Get/Set Commandtntp_cred tntp_cred_list tntp_cred_set
Common TNTP Color Palettesshow_tntp_palette tntp_palette
Create TNTP themed ggplot2 chartstntp_style
Data Analysis Tools Customized for TNTPtntpr-package tntpr
Update matching font defaults for text geomsupdate_geom_font_defaults
Re-install the tntpr package from GitHub.update_tntpr
Fake student data from the Wisconsin State Dept. of Edwisc