add_country_hit_limit: Add a column that indicates when a country hits a limit of...

Description Usage Arguments Value Examples

View source: R/country-over-limit.R

Description

Requires that country is called country_region, date is called date, cumulative cases are called cumulative_cases.

Usage

1
add_country_hit_limit(covid_data, limit = 100)

Arguments

covid_data

covid19 data with cumulative cases for each country

limit

defaults to 100

Value

data.frame with additional column "hit limit" indicating the day a country passed that limit

Examples

1
# covid %>%

CBDRH/covidrecon documentation built on May 27, 2020, 9:41 a.m.