generic cumulative_events generator
make_cumulative_events(cases, dates, eventtype, alpha3, ProvinceStateName)
numeric vector
vector
character(1) should be "confirmed" or "deaths"
character(1) country code not checked
character(1)
a list with counts and dates
# ec = jhu_data()
# ber = ec[which(ec$nuts_3 == "Bergamo"),]
# mber = make_cumulative_events( cases = ber$cases, dates = ber$date,
# eventtype = "confirmed", alpha3 = "ITA", ProvinceStateName = "Bergamo")
# plot(mber)