Description Usage Arguments Value See Also Examples
Defaults are stored in ndfdXMLclient_vars
and are accessed by
the type of resources requested. For instance the defaults for a
point
are found in ndfdXMLclient_groups
under query_point
1 | query_this(what = "point", elements = c("mint", "maxt", "temp"), ...)
|
what |
character - the type of query which defines the defaults. Defaults
for each type of query are identified
|
elements |
a character vector or elements to retrieve. See http://graphical.weather.gov/xml/docs/elementInputNames.php |
... |
zero or more parameters that will add to or override the
defaults listed in |
character of the query to pass to get_query
http://graphical.weather.gov/xml/rest.php#XML_contents
1 2 3 4 5 6 7 8 | ## Not run:
# default for point, and then with lon and elements specified
query_this(what = "point")
query_this(what = "point", lon = -69, elements = c("dew", "temp", "snow"))
# query by zipcode
query_this(what = "zipcode", zipCodeList = "04096",elements = c("dew", "temp", "snow"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.