httr::RETRY()
used throughout. (fixes #49)- Add CITATION.
- vignette and readme use ggspatial instead of ggmap. (fixes #52)
downloadDMRs()
passes arguments properly. This fixes #43.
echoGetEffluent()
anddownloadDMRs()
return columns (or nested columns) as characters only.
- fix vignette (closes #44)
- import tidyr (v1.0.0)
- utilize httptest for unit testing
downloadDMRs()
Returns a tidy dataframe with dmr reports. (closes #38)
echoGetEffluent()
uses a different API call to returns a flat dmr report (one plant at a time). Existing arguments remain the same and still returns a dataframe. (closes #37)
- Single function returns air and water data;
echoGetFacilities()
andechoGetReports()
wrap the individual functions to streamline functions that users need to be familiar with. (closes #33) - Added
echoWaterGetMeta()
andechoAirGetMeta()
functions to retrieve column metadata returned byechoWaterGetFacilityInfo()
andechoAirGetFacilityInfo()
; specify columns returned by respective functions by including qcolumns argument in respective functions. (closes #28). - Added default
qcolumns
argument toechoWaterGetFacilityInfo()
to ensure reasonable default columns are returned (#29). echoWaterGetFacilityInfo()
properly returns large datasets. The new internal functiongetDownload()
downloads the entire CSV of queried data as a dataframe (closes #27).- Added default
qcolumns
argument toechoAirGetFacilityInfo()
to ensure reasonable default columns are returned (#29). echoAirGetFacilityInfo()
properly returns large datasets. The new internal functiongetDownload()
downloads the entire CSV of queried data as a dataframe (closes #27).echoSDWGetSystems()
downloads data for public drinking water systems.echoSDWGetMeta()
downloads metadata for columns returned byechoSDWGetSystems()
- Unit tests for functions that rely on EPA ECHO API utilize
skip_on_cran()
instead ofhttptest::with_mock_API()
- Imported functions are called explicitly eg.
pkg::fun()
- Added a
NEWS.md
file to track changes to the package. - Initial Release