- Fixed
get_station_imeca
because the url to download the data changed - Fixed warning "The 'value' argument of 'names<-' must be a character vector as of
tibble 3.0.0." in
get_station_imeca
,get_station_data
andget_zone_imeca
- Fixed
get_latest_imeca
because values are no longer provided from the report page - Fixes
get_station_imeca
because the url to download the data changed get_station_imeca
andget_zone_imeca
can now download PM25 data- Correct the pollutant code for PM25 to match other functions when using
get_latest_data
- Change the address to download archive data in the
download_*
functions - The 2016 wind speed data with errors has been corrected at the source, so functions that download it no longer give warnings.
- Fixed
get_station_imeca
beacause it returned an error when requesting a pollutant that wasn't O3 .
- Added new stations FAR and SAC to the
stations
data.frame
- Fixes
get_station_imeca
because of a change in the website
get_zone_imeca
andget_latest_imeca
now return NULL when aire.cdmx.gob.mx is downconvert_to_index
added 'PELIGROSA' categoryconvert_to_imeca
uses NADF-009-AIRE-2017 to convert concentration units to IMECA
download_24hr_average
Download archives of the 24 hour averages of PM10 and SO2download_deposition
Download Rainfall Samples Archivesdownload_lead
Download Lead Pollution Archivesdownload_meteorological
Download Meteorological Data Archivesdownload_pollution
Download Pollution Archivesdownload_pressure
Download Atmospheric Pressure Archivesdownload_radiation
Download Ultraviolet Radiation Archivesconvert_to_index
Convert a concentration value to one of 5 categories
- The get_*_data functions now use https://github.com/diegovalle/aire.zmvm as referrer
- Since there are errors in the wind speed data some functions show a warning or prohibit downloading if certain time ranges are requested
- Make sure the
get_station_imeca
example is not run
- function
get_station_imeca
for downloading pollution data in IMECAs from each station get_station_month_data
replacesget_station_data_monthly
. Allows for downloading daily maximums and daily minimumsget_station_data
now can download TMP, WSP, WDR and RH data back to 1986zones
data.frame with the municipios belonging to each geographic zone of Mexico city
- Define the geographic zones for measuring pollution in the documentation
- Correct the date ranges for the values needed to declare pollution emergencies in the README
- Messages about measuring stations no longer included in the index are now shown with
message()
instead ofwarning()
- Messages about changes in the way the IMECA is computed are now shown with
message()
instead ofwarning()
get_station_data
no longer gives a warning when downloading data from 2012 to 2015get_station_data
progress bar now works correctlyget_station_month_data
warnings when data doesn't match the archives
get_latest_data
is deprecated. You should instead useget_latest_imeca
.get_zone_data
is deprecated. You should instead useget_zone_imeca
.get_station_data_monthly
is deprecated. You should instead useget_station_month_data
.showWarnings
argument toget_zone_imeca
was deprecated forshow_messages
.
- First release
New functionality:
- get_station_data()
- get_zone_data()
- get_latest_data()
- idw360()
- stations data.frame