station_by_id: Find a Specific Alternative Fuel Station by Unique ID

Description Usage Arguments Value Examples

View source: R/altfuel_api.R

Description

Find a Specific Alternative Fuel Station by Unique ID

Usage

1
station_by_id(api_key, station_id)

Arguments

api_key

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

station_id

The unique ID of the station to find.

Value

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

Examples

1
2
3
4
5
## Not run: 
my_stn <- station_by_id(MY_API_KEY, station_id = 150544)
stations(my_stn)

## End(Not run)

altfuelr documentation built on Jan. 13, 2021, 10:19 a.m.