# Data Analysis Tools Customized for TNTP

## Documentation for package ‘tntpr’ version 1.2.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

tntpr-package | Data Analysis Tools Customized for TNTP
.onAttach | Title
bar_chart_counts | Bar chart of counts with TNTP polish
check_all_count | Tabulate a range of check-all-that-apply response columns in a single table.
check_all_recode | Process a range of check-all-that-apply response columns for correct tabulation.
choose_text_color | Get contrasting text colors for fills
colors_tntp | TNTP colors
colors_tntp_likert | Likert pallette
colors_tntp_likert_orange_to_green | Likert orange to green pallette
colors_tntp_palette | TNTP pallette
date_to_sy | Convert a date value into its school year.
factorize_df | Convert all character vectors containing a set of values in a data.frame to factors.
fake_county | Fake teacher roster dataset from OpenSDP
figureN | Create sequential figure numbers
get_ext | Pull extension from a path
get_usable_family | Checks if a font family is usable and returns a usable font if not
header_tntp | Insert header_script_tntp.
import_segoe_ui | Import Segoe UI Condensed font for use in charts
is_color | Validate color inputs
is_drive_id | Test if a string is formatted like a Sharepoint drive id
is_site_id | Test if a string is formatted like a Sharepoint site id
is_site_url | Test if a string is formatted like a Sharepoint site url
labelled_to_factors | Convert all 'labelled'-class columns to factors.
palette_names | Pallette names
palette_tntp | TNTP branded color palettes
palette_tntp_scales | scale_palette_tntp
parse_date | Attempt to parse a date with common formats
position_diverge | Easy Diverging Bar Charts
process_type | Determine function type by extension and provided type Handles type validation
prop_matching | Calculate the percent of non-missing values in a character vector containing the values of interest. This is a helper function for factorize_df().
recode_to_binary | Recode a variable into binary groups, e.g., "Top-2" and "Not in Top-2".
scale_color_tntp | scale_color_tntp/scale_fill_tntp
scale_colour_tntp | scale_color_tntp/scale_fill_tntp
scale_fill_tntp | scale_color_tntp/scale_fill_tntp
setup_repo | Initialize a new repository, and a single subfolder, TNTP style.
setup_subdirectory | Initialize a new subdirectory in an existing repository, TNTP style.
set_data_memo_formatting | Set the formatting options for a TNTP Data Memo
show_in_excel | Write Dataframe to a temp excel file and open it.
show_tntp_colors | TNTP Brand Colors
show_tntp_palette | Common TNTP Color Palettes
sp_check_folder | Check for existence of a Sharepoint folder and offer to create it if it doesn't exist
sp_create_folder | Create Sharepoint Folder
sp_defaults | Set default Sharepoint settings for a session
sp_download | Sharepoint upload/download
sp_drive | Return Microsoft365R site or drive object
sp_error | For parsing sharepoint errors (right now just path errors)
sp_list | List Sharepoint Contents
sp_list_drives | List Sharepoint Contents
sp_list_sites | List Sharepoint Contents
sp_list_subsites | List Sharepoint Contents
sp_read | Read/Write from Sharepoint
sp_read_xlsx | Internal function for reading excel files from Sharepoint
sp_site | Return Microsoft365R site or drive object
sp_string | Internal function to create cli-friendly site/drive/path string
sp_upload | Sharepoint upload/download
sp_write | Read/Write from Sharepoint
sp_write_xlsx | Function for uploading an xls / xlsx file
standardize_case | Update case of a character vector
tableN | Create sequential table numbers
teacher_survey | Teacher survey data
theme_tntp | TNTP's ggplot2 theme
theme_tntp_2018 | A precise & pristine 'ggplot2' theme with opinionated defaults and an emphasis on typography
tntpr | Data Analysis Tools Customized for TNTP
tntp_colors | TNTP Brand Colors
tntp_cred | TNTP Credential Get/Set Command
tntp_cred_list | TNTP Credential Get/Set Command
tntp_cred_set | TNTP Credential Get/Set Command
tntp_palette | Common TNTP Color Palettes
tntp_style | Create TNTP themed ggplot2 charts
update_geom_font_defaults | Update matching font defaults for text geoms
update_tntpr | Re-install the tntpr package from GitHub.
wisc | Fake student data from the Wisconsin State Dept. of Ed