powered by
get all locations information using API call
getAllLocations(online = TRUE, state = NA)
if TRUE location data is pulled from the API, if FALSE, data is pulled from offiline database
filter the final output based on the state code specified, deafault to all US states
Dataframe with Location ID, Location name and State
# NOT RUN { locations <- getAllLocations (online=FALSE,state="CA") # }
Run the code above in your browser using DataLab