View source: R/monitor_ar_retrieve_met.R
monitor_ar_retrieve_met | R Documentation |
This function download the main meteorological parameters from one air quality station (AQS) of Monitor Ar network. It will pad out the date with missing data with NA.
monitor_ar_retrieve_met(
start_date,
end_date,
aqs_code,
verbose = TRUE,
to_local = TRUE,
to_csv = FALSE,
csv_path = ""
)
start_date |
Date to start downloading in dd/mm/yyyy. |
end_date |
Date to end downloading in dd/mm/yyyy. |
aqs_code |
Code of AQS. See |
verbose |
Print query summary. |
to_local |
Date information in local time. TRUE by default. |
to_csv |
Create a csv file. FALSE by default. |
csv_path |
Path to save the csv file. |
data.frame with Temperature (c), Relative Humidity (%), Wind speed (m/s) and direction (degrees) and Pressure information.
## Not run:
# Downloading meteorological data from CENTRO AQS
# from January first to 7th of 2020
start_date <- "01/01/2020"
end_date <- "07/01/2020"
ca_met <- monitor_ar_retrieve_met(start_date, end_date, "CA")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.