View source: R/call_placement.R
perform.call | R Documentation |
Cached version of the perform.call function
perform.call( endpoint, variables = list(), cached = TRUE, cache_directory = "/cache" )
endpoint |
An endpoint from the available EPA API endpoints |
variables |
A list of variables or a single variable to filter the EPA API endpoint. |
cached |
TRUE or FALSE specifying if the data from the call is to be cached. Default: TRUE. |
cache_directory |
Place inside user-level cache directory to store the cached data. Default: "/cache". |
A list containing requested data
## Not run: endpoint <- 'list/states' result <- perform.call(endpoint) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.