View source: R/monitor_ar_retrieve_pol.R
monitor_ar_retrieve_pol | R Documentation |
This function download the criteria pollutants from one air quality station (AQS) of Monitor Ar Program. It will pad out the date with missing data with NA.
monitor_ar_retrieve_pol(
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. |
verbose |
Print query summary. |
to_local |
Date information in local time. TRUE by default. |
to_csv |
Creates a csv file. FALSE by default. |
csv_path |
Path to save the csv file. |
data.frame with O3, NO, NO2, NOx, PM2.5, PM10 and CO information.
## Not run:
# Downloading criteria pollutants from CENTRO AQS
# from January first to 7th of 2020
start_date <- "01/01/2020"
end_date <- "07/01/2020"
ca_pol <- monitor_ar_retrieve_pol(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.