Learn R Programming

covidregionaldata (version 0.8.2)

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

data

a data table

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()

Value

A data table