View source: R/daily_download_AWS_INMET.R
download_AWS_INMET_daily | R Documentation |
This function will download the hourly AWS data of INMET and it will aggregate the data in a daily time scale, based on the period of time selected (start_date and end_date).
download_AWS_INMET_daily(stations, start_date, end_date)
stations |
The stations code (ID - WMO code) for download. To see the station ID, please see the function *see_stations_info*. |
start_date |
Date that start the investigation, should be in the following format (1958-01-01 /Year-Month-Day) |
end_date |
Date that end the investigation, should be in the following format (2017-12-31 /Year-Month-Day) |
Returns a data.frame with the AWS data requested
Roberto Filgueiras, Luan P. Venancio, Catariny C. Aleman and Fernando F. da Cunha
## Not run:
df <- download_AWS_INMET_daily(stations = c("A001","A042"),
start_date = "2016-01-01",
end_date = "2018-12-31")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.