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/covidrecon documentation built on May 27, 2020, 9:41 a.m.