refresh_site_data <- function() {
site_data <- build_hunting_site_data()
site_data <- select(site_data,
site_name,
is_species,
lon,
lat,
popup)
usethis::use_data(site_data, overwrite = TRUE)
invisible(site_data)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.