Skip to contents

Azure

Functions to deal with Azure data from R

azure_connect()
Connect to Azure
azure_import_loop()
Write large datasets from R to Azure
varchar_max()
Get character variable (varchar) lengths for import into Azure

Data viz

Functions to format charts and tables according to the SMC Epi style guide

theme_ft_smc()
Using theme_ft_smc
theme_gg_smc()
Using theme_gg_smc
theme_pl_smc()
Using theme_pl_smc
load_smc_fonts()
Download SMC Fonts
gg_color_title()
Using gg_color_title()

Misc data processing

Other helpful functions for data processing

get_file_path()
Get file path for a file stored in a folder with multiple versions of a file
read_tsv_cr()
Reading large tab separated files with read_tsv_cr
smc_city_clean()
cleaning up San Mateo Cities in a data frame
smc_zip_region_sort()
Classify zip codes by region in San Mateo County
life_table()
life table
make_life_table()
Creating life tables
get_le()
Pulling Life Expectancy from a Life Table