Description Usage Arguments Examples
create cumulative_events instance for county in state data from NYT
1 2 3 4 5 6 | cumulative_events_nyt_county(
src,
eventtype = "confirmed",
statename = "Massachusetts",
countyname = "Norfolk"
)
|
src |
a tibble |
eventtype |
character(1) 'confirmed' or 'deaths' |
statename |
character(1) state name |
countyname |
character(1) county name |
1 2 3 4 5 6 | nytc = nytimes_county_data()
norf = cumulative_events_nyt_county(nytc, eventtype = "confirmed",
statename = "Massachusetts", countyname="Norfolk")
norf
inorf = form_incident_events(trim_from(norf, "2020-03-01"))
plot(inorf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.