add_country_label: Add a country label for plotting

Description Usage Arguments Value

View source: R/cutting-room.R

Description

This adds the appropriate lables for each country, to assist plotting with geom_label

Usage

1
add_country_label(data, countries = unique(data$country_region))

Arguments

data

covid19 data

countries

default adds all countries. Otherwise, they are specified with character vector.

Value

data.frame with added columns of selected countries


CBDRH/COVIDreconnoitR documentation built on May 28, 2020, 6:15 a.m.