Learn R Programming

altfuelr (version 0.1.0)

stations: Extract station data from API object

Description

Extract station data from API object

Usage

stations(x)

Arguments

x

An nrel_api object.

Value

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

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab