npn_stations | R Documentation |
Get a list of all stations, optionally filtered by state
npn_stations(state_code = NULL, ...)
state_code |
The postal code of the US state by which to filter the results returned. Leave empty to get all stations. |
... |
Curl options passed on to |
A data frame with stations' latitude and longitude, names, and ids.
## Not run:
npn_stations()
npn_stations('AZ')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.