stations: Extract station data from API object

Description Usage Arguments Value Examples

View source: R/altfuel_api.R

Description

Extract station data from API object

Usage

1

Arguments

x

An nrel_api object.

Value

A data frame with the station listing from the nrel_api object.

Examples

1
2
3
4
5
6
## 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)

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