Description Usage Arguments Details Value Examples
View source: R/query_derived_products.R
Provides access to data available from NOAA's CO-OPS Derived Product API. Four derived data products are available through the API: 1) Top Ten Water Levels, 2) Annual Flood Days, 3) Extreme Water Levels and 4) Sea Level Trends. More detail about each data product is available with the API's documentation
1 2 3 4 5 6 7 |
station_id |
an optional string that provides the a 7 character station id. If omitted the derived product API returns data for all stations. |
product_name |
a string providing the name of the derived data product.
Derived products include Top Ten Water Levels ( |
year |
an optional string used to limit the results from the annual flood days product to the indicated year. The argument is ignored if used with other data products. |
affil |
an optional argument used to limit the results from the Sea Level
Trends product to U.S. ( |
units |
a character string specifying if the data should be returned
using metric or English units. Defaults to |
Results are returned as a data frame specific to each product. For the variables returned with each endpoint see the appropriate section in the documentation.
a data frame. See the documentation for the specific product for the details an it's content.
1 2 3 | # Not Run
query_derived_products(station_id = "1611400",
product_name = "sealeveltrends")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.