Tools for Population Health Management Analytics


[Up] [Top]

Documentation for package ‘SangerTools’ version 1.0.1

Help Pages

categorical_col_chart Plot Counts of Categorical Variables Create a ggplot2 column chart of categorical variables with proportions, in ascending order.
crude_pr Crude Prevalence Rate. Calculate a group's Crude Prevalence Rate (Rate Per 1,000). This is created to work with datasets that have 1 row per individual and Columns as variables. This function utilises the Tidyverse framework of Non-Standard Evaluation. As such arguments are passed to the function without quotation.
df_to_sql DataFrame to SQL; Write your DataFrame or Tibble directly to SQL from R
excel_clip Dataframe to Clipboard This function copies a data frame to your clipboard.
multiple_csv_reader Read Multiple CSV files into R This function reads multiple CSVs in a directory must be same structure.
multiple_excel_reader Read Multiple Excel files into R This function reads multiple Xlsx files in a directory must be same structure.
PopHealthData PopHealthData - Population health data for testing functions
show_brand_palette Display Brand Colour Palette Displays a brand colour palette for showing the hex codes associated with brand
show_extended_palette Display Extended Brand Colour Palette Displays extended brand colour palette for charting
theme_sanger Customised ggplot2 Theme A customised ggplot2 theme for the SangerTools package