npn_stations: Get Station Data

View source: R/npn_stations.R

npn_stationsR Documentation

Get Station Data

Description

Get a list of all stations, optionally filtered by state

Usage

npn_stations(state_code = NULL, ...)

Arguments

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 GET

Value

A data frame with stations' latitude and longitude, names, and ids.

Examples

## Not run: 
npn_stations()
npn_stations('AZ')

## End(Not run)

rnpn documentation built on Sept. 11, 2024, 6:54 p.m.