station_by_id {altfuelr}R Documentation

Find a Specific Alternative Fuel Station by Unique ID

Description

Find a Specific Alternative Fuel Station by Unique ID

Usage

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

## Not run: 
my_stn <- station_by_id(MY_API_KEY, station_id = 150544)
stations(my_stn)

## End(Not run)

[Package altfuelr version 0.1.0 Index]