clean_events | R Documentation |
Cleans and un-nests events data which is returned from
get_events()
.
clean_events(events, locations_clean)
events |
A |
locations_clean |
A |
A tibble
with cleaned events data.
## Not run:
url <- "https://MyGoDataServer.com/"
username <- "myemail@email.com"
password <- "mypassword"
outbreak_id <- "3b5554d7-2c19-41d0-b9af-475ad25a382b"
events <- get_events(
url = url,
username = username,
password = password,
outbreak_id = outbreak_id
)
locations <- get_locations(
url = url,
username = username,
password = password
)
locations_clean <- clean_locations(locations = locations)
clean_events <- clean_events(
events = events,
locations_clean = locations_clean)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.