R/data.R
covid_iran.Rd
daily summary of the Coronavirus (COVID-19) confirmed cases in Iran by region and province
covid_iran
A data.frame object
Wikipedia article "2020 coronavirus pandemic in Iran" website
The dataset contains the cases in Iran by region and province
data(covid_iran) require(dplyr) # Get summary of total cases by province covid_iran %>% group_by(province) %>% summarise(total = sum(cases))#> # A tibble: 31 x 2 #> province total #> <chr> <dbl> #> 1 Alborz 1131 #> 2 Ardebil 286 #> 3 Bushehr 55 #> 4 Chahar Mahall and Bakhtiari 68 #> 5 East Azarbaijan 779 #> 6 Esfahan 1904 #> 7 Fars 489 #> 8 Gilan 1075 #> 9 Golestan 391 #> 10 Hamadan 170 #> # … with 21 more rows