nearest_fuel: Query NREL Alt Fuel Locator Use the NREL apt fuel API to look...

Description Usage Arguments Value Examples

View source: R/query_alt_fuel_api.R

Description

Query NREL Alt Fuel Locator Use the NREL apt fuel API to look up the nearest station to a given zipcode with E85 fuel.

Usage

1
2
nearest_fuel(zip_code, fuel_type = "all", api_key = NA,
  lookup = TRUE, range = "infinite")

Arguments

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.

Value

A list.

Examples

1
# nearest_85("20001")

burch-cm/fleetreportr documentation built on Nov. 4, 2019, 8:20 a.m.