Changelog
Source:NEWS.md
aire.zmvm 1.0.1
Bugs fixes and improvements
-
download_deposition()now handles updated CSV headers — users won’t see errors when downloading deposition data. -
get_latest_imeca()correctly parses Índice aire y salud values. -
download_lead()now throws an error for the unsupported combined'PST, PM10, PM25'data type.
aire.zmvm 0.9.0
CRAN release: 2024-02-12
Bugs fixes and improvements
- Fixed
get_latest_imecabecause values are no longer provided from the report page - Fixes
get_station_imecabecause the url to download the data changed -
get_station_imecaandget_zone_imecacan 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_imecabeacause it returned an error when requesting a pollutant that wasn’t O3 .
aire.zmvm 0.8.0
CRAN release: 2018-10-30
New features
-
download_24hr_averageDownload archives of the 24 hour averages of PM10 and SO2 -
download_depositionDownload Rainfall Samples Archives -
download_leadDownload Lead Pollution Archives -
download_meteorologicalDownload Meteorological Data Archives -
download_pollutionDownload Pollution Archives -
download_pressureDownload Atmospheric Pressure Archives -
download_radiationDownload Ultraviolet Radiation Archives -
convert_to_indexConvert a concentration value to one of 5 categories
Bug fixes and improvements
- 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
aire.zmvm 0.6.0
CRAN release: 2018-03-25
New features
- function
get_station_imecafor downloading pollution data in IMECAs from each station -
get_station_month_datareplacesget_station_data_monthly. Allows for downloading daily maximums and daily minimums -
get_station_datanow can download TMP, WSP, WDR and RH data back to 1986 -
zonesdata.frame with the municipios belonging to each geographic zone of Mexico city
Bug fixes and improvements
- 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_datano longer gives a warning when downloading data from 2012 to 2015 -
get_station_dataprogress bar now works correctly -
get_station_month_datawarnings when data doesn’t match the archives
Deprecated and Defunct
-
get_latest_datais deprecated. You should instead useget_latest_imeca. -
get_zone_datais deprecated. You should instead useget_zone_imeca. -
get_station_data_monthlyis deprecated. You should instead useget_station_month_data. -
showWarningsargument toget_zone_imecawas deprecated forshow_messages.