list_this: Constructs a query to list resources available

Description Usage Arguments Value See Also Examples

View source: R/query.R

Description

Defaults are stored in ndfdXMLclient_vars and are accessed by the type of resources requested. For instance the defaults for a points_in_subgrid are found in ndfdXMLclient_groups under list_points_in_subgrid

Usage

1
list_this(what = "points_in_subgrid", ...)

Arguments

what

character - the type of query which defines the defaults. Defaults for each type of query are identified ndfdXMLclient_vars and ndfdXMLclient_groups

  • points_in_subgrid, A List of NDFD Points for a Subgrid

  • points_on_line, A List of NDFD Points for a Line

  • zipcodes, A List of NDFD Points for a Zipcode

  • cities, A List of NDFD Points for a List of Cities

  • centerpoint, A List of NDFD Points for a Subgrid Defined by a Center Point

  • corners, A List of NDFD Points for the Corners of an NDFD Grid

...

other keywords for listing in key=value form

Value

a character query string

See Also

http://graphical.weather.gov/xml/rest.php#XML_contents

Examples

1
2
3
4
5
6
7
8
## Not run: 
# default for points, and then with lon and elements specified
list_this(what = "points_in_subgrid")
list_this(what = "point_in_subgrid", lon = -69)
# list by zipcode
list_this(what = "zipcode", zipCodeList = "04096",elements = c("dew", "temp", "snow"))

## End(Not run)

BigelowLab/ndfd documentation built on May 5, 2019, 2:43 p.m.