save.new.cached.call: Saves a new call that has not been previously cached yet.

View source: R/call_placement.R

save.new.cached.callR Documentation

Saves a new call that has not been previously cached yet.

Description

Saves a new call that has not been previously cached yet.

Usage

save.new.cached.call(endpoint, variables = list(), directory = "/cache")

Arguments

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".

Value

A list containing requested data

Examples

## Not run: 
endpoint <- 'list/states'
save.new.cached.call(endpoint)

## End(Not run)

GLOrozcoM/epair documentation built on July 28, 2022, 9:01 p.m.