station_data | R Documentation |
PBO operates a large number of stations, and station_data
is
a mechanism to search through a subset of their metadata;
sta16_from_sta4
is a simple way to convert from a station's
4-character station code (e.g., B084) to its
16-character representation (e.g., pinyon084bcs2006).
station_data(name = NULL, meta = NULL, use.regexp = FALSE, verbose = TRUE) station_data2(...) station_data3(...) Anza_stations(...) sta16_from_sta4(sta4 = NULL, use.regexp = FALSE) station_location(sta4 = NULL, ...) .location.names(x)
name |
character; the search string; use |
meta |
character; the metadata source; the only
options are |
use.regexp |
logical; should |
verbose |
logical; should messages be given? |
... |
additional arguments |
sta4 |
character; an optional 4-character station code (e.g., |
x |
character; return a location for a given region-code |
This function searches internal metadata, which can be accessed
via data(bsmmeta)
, for example.
A. Barbour
## Not run: station_data() station_data("B084") station_data("bcs", use.regexp=TRUE) station_data(c("B082","B084"), use.regexp=TRUE) # will use only the first station_data("B08[24]", use.regexp=TRUE) # gets what you want # # Get all of the 16-character codes sta16_from_sta4() # or just a few sta16_from_sta4(c("B082","B084")) # Special wrapper to get Anza cluster stations # (note the extra bit of information returned: has.pp) Anza_stations() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.