all_stations {altfuelr}R Documentation

Find All Alternate Fuel Stations by Criteria

Description

Find All Alternate Fuel Stations by Criteria

Usage

all_stations(api_key, params = nrel_params(limit = "all"))

Arguments

api_key

Character. An authorized API key for the NREL API service. API keys can be requested at https://developer.nrel.gov/signup/

params

A list of parameters for the API call. See ?nrel_params for options.

Value

An object of class nrel_api, containing content, parameters, and response.

Examples

## Not run: 
my_params <- nrel_params(fuel_type = "ELEC", ev_connector_type = "TESLA")
my_stations <- get_all_stations(MY_API_KEY, my_params)
stations(my_stations)

## End(Not run)

[Package altfuelr version 0.1.0 Index]