View source: R/call_placement.R
save.new.cached.call | R Documentation |
Saves a new call that has not been previously cached yet.
save.new.cached.call(endpoint, variables = list(), 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. |
directory |
Place inside user-level cache directory that was used to store the cached data previously. Default: "/cache". |
A list containing requested data
## Not run: endpoint <- 'list/states' save.new.cached.call(endpoint) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.