Description Usage Arguments Value Examples
View source: R/query_alt_fuel_api.R
Query NREL Alt Fuel Locator Use the NREL apt fuel API to look up the nearest station to a given zipcode with E85 fuel.
1 2 | nearest_fuel(zip_code, fuel_type = "all", api_key = NA,
lookup = TRUE, range = "infinite")
|
fuel_type |
Character. Which fuel code to search for in the API. |
api_key |
Character. A valid NRAL API key. |
lookup |
Logical. Should the zipcode be converted to lat/lng before search? |
range |
Character or numeric. The range in which to conduct the search. |
zipcode |
Character. The zipcode to use as a starting point. |
A list.
1 | # nearest_85("20001")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.