# #'getAQDMavailable
# #'
# #'A function to check the availability of EPA's AQDM web service
# #'
# #'@details
# #'Makes use of AQDM's serviceAvailable service to check the status of AQDM.
# #'
# #'@return
# #'Returns \code{TRUE} if the service reports READY, otherwise returns \code{FALSE}.
# #'@examples
# #'if(getAQDMavailable()) print("The service is available!")
# #'@export
# getAQDMavailable <- function() {
# x <- httr::content(httr::GET(paste0(baseURL, "serviceAvailable")))
# return(grepl("^READY", x))
# }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.