vld_response_status <- function(x) {
!http_error(x)
}
vld_response_geojson <- function(x) {
http_type(x) == "application/geo+json"
}
vld_response_json <- function(x) {
http_type(x) == "application/json"
}
vld_charflag <- function(x) {
x %in% c('true', 'false')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.