fePrices <-
function(...) {
response <- feQuery("fuelprices")
if (is.null(response)) {
return(NULL)
}
out <- xmlToList(response)
out <- sapply(out, as.numeric)
# class(out) <- c('fePrices',class(out))
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.