tntpr1.2.1 package

Data Analysis Tools Customized for TNTP

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 ...

check_all_recode

Process a range of check-all-that-apply response columns for correct t...

choose_text_color

Get contrasting text colors for fills

colors_tntp_likert_orange_to_green

Likert orange to green pallette

colors_tntp_likert

Likert pallette

colors_tntp_palette

TNTP pallette

colors_tntp

TNTP colors

date_to_sy

Convert a date value into its school year.

dot-onAttach

Title

factorize_df

Convert all character vectors containing a set of values in a data.fra...

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_scales

scale_palette_tntp

palette_tntp

TNTP branded color palettes

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 va...

prop_matching

Calculate the percent of non-missing values in a character vector cont...

recode_to_binary

Recode a variable into binary groups, e.g., "Top-2" and "Not in Top-2"...

scale_colour_tntp

scale_color_tntp/scale_fill_tntp

set_data_memo_formatting

Set the formatting options for a TNTP Data Memo

setup_repo

Initialize a new repository, and a single subfolder, TNTP style.

setup_subdirectory

Initialize a new subdirectory in an existing repository, TNTP style.

show_in_excel

Write Dataframe to a temp excel file and open it.

sp_check_folder

Check for existence of a Sharepoint folder and offer to create it if i...

sp_create_folder

Create Sharepoint Folder

sp_defaults

Set default Sharepoint settings for a session

sp_error

For parsing sharepoint errors (right now just path errors)

sp_list

List Sharepoint Contents

sp_read_xlsx

Internal function for reading excel files from Sharepoint

sp_read

Read/Write 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_xlsx

Function for uploading an xls / xlsx file

standardize_case

Update case of a character vector

tableN

Create sequential table numbers

theme_tntp_2018

A precise & pristine ggplot2 theme with opinionated defaults and an ...

theme_tntp

TNTP's ggplot2 theme

tntp_colors

TNTP Brand Colors

tntp_cred

TNTP Credential Get/Set Command

tntp_palette

Common TNTP Color Palettes

tntp_style

Create TNTP themed ggplot2 charts

tntpr

Data Analysis Tools Customized for TNTP

update_geom_font_defaults

Update matching font defaults for text geoms

update_tntpr

Re-install the tntpr package from GitHub.

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.

  • Maintainer: Dustin Pashouwer
  • License: CC BY 4.0
  • Last published: 2024-11-26