left_join_region_codes: Custom left_join function
Description
Checks if table that is being added is NULL and then uses left_join
Usage
left_join_region_codes(data, region_codes_table, by = NULL, ...)
Arguments
region_codes_table
a table of region codes which will be left_join (optionally NULL)
by
see dplyr::left_join() description of by parameter
...
optional arguments passed into dplyr::left_join()