Description Usage Arguments Examples
Query geomet webservice for ECCC data
1 2 3 |
parameter |
One of |
station_number |
A meteorological/hydrometric station number. |
as_spatial |
Convert to sf object. Defaults to TRUE. |
start_date |
Accepts either YYYY-MM-DD. If this argument is left missing, the function will return all data prior to |
end_date |
Accepts either YYYY-MM-DD. If this argument is left missing, the function will return all data after |
page_limit |
Default to 500. You likely will not need to change this value. This represents the maximum number of records that can be requested for each pagination request. |
verbose |
Defaults to FALSE. Do you want the URLs used to make the GET call to be printed? |
1 2 3 4 5 6 | geomet_data(parameter = "hydrometric-daily-mean", station_number = "10PC003", start_date = "1983-07-04")
## Get all ahccd-stations
geomet_data("ahccd-stations")
geomet_data("ahccd-monthly", station_number = "1171020")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.