npn_stations_by_location: Get station data based on a WKT defined geography.

View source: R/npn_stations.R

npn_stations_by_locationR Documentation

Get station data based on a WKT defined geography.

Description

Takes a Well-Known Text based geography as input and returns data for all stations, including unique IDs, within that boundary.

Usage

npn_stations_by_location(wkt, ...)

Arguments

wkt

Required field specifying the WKT geography to use.

...

Curl options passed on to GET

Value

A data frame listing stations filtered based on the WKT geography.

Examples

## Not run: 
head( npn_stations_by_state(wkt="POLYGON((
-110.94484396954107 32.23623109416672,-110.96166678448247 32.23594069208043,
-110.95960684795904 32.21328646993733,-110.94244071026372 32.21343170728929,
-110.93935080547857 32.23216538049456,-110.94484396954107 32.23623109416672))")
)

## End(Not run)

ropensci/rnpn documentation built on Jan. 25, 2024, 6:46 p.m.