feModels <-
function(year, make, ...) {
response <- feQuery(paste("vehicle/menu/model?year=", year,
"&make=", make,
sep = ""
))
if (is.null(response)) {
return(NULL)
}
out <- xpathSApply(response, "//value", xmlValue)
# class(out) <- c('feModels',class(out))
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.