npn_stations_by_location | R Documentation |
Takes a Well-Known Text based geography as input and returns data for all stations, including unique IDs, within that boundary.
npn_stations_by_location(wkt, ...)
wkt |
Required field specifying the WKT geography to use. |
... |
Curl options passed on to |
A data frame listing stations filtered based on the WKT geography.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.