Releases: mps9506/echor
Releases · mps9506/echor
echor 0.1.9
- when server responses != 200 or 202, functions return an invisible NULL with a message instead of an error and message. (fixes #87)
- removed geojsonsf dependency.
- _getFacilityInfo() functions return an invisible NULL with message instead of stopping with error if too many records are requested in sf format.
echor 0.1.8
Bug Fixes
- various _getFacilityInfo() functions now properly return records when more then 100,000 records are returned. (fixes #79)
- _getFacilityInfo() functions stop and a message is returned if too many records are requested in sf format.
Internal changes
- remove use of
rlang::dots_values()
to avoid upcoming soft depreciation. (fixes #77)
echor 0.1.7
Minor Changes
- update email address for author and maintainer.
- reduced dependencies by moving spatial examples to pkgdown articles.
Bug Fixes
- update url endpoint for metadata services.
Internal changes
- update pkgdown use and template for consistency with my other packages.
- remove rlang::.data selectors for compatibility with new versions of purrr and tidyselect.
- fixed messages introduced by new versions of readr/vroom when columns are NA.
- vignette is no longer built by CRAN to reduce package dependencies, see the pkgdown website for documentation
- remove the depreciated dplyr based progress bar function and use progress package.
- functions provide message and return nothing if nslookup fails.
echor 0.1.6
Bug Fixes
- Removed TidyData in DESCRIPTION.
- Fix output for
echoGetCAAPR()
. - Update base URL used in webservice.
echor 0.1.5
v0.1.4
v0.1.3
Bug fixes
- Fixes issues introduced in building vignettes caused by
tidyr v1.0.0
release that requires arguments inunnest()
Major changes
echoGetEffluent()
anddownloadDMRs()
return columns or nested columns as character vectors only. This will possible break existing scripts using these functions. This will remain the default unless API functionality is provided to detect the value types beforehand.
Internal
- imports
tidyr
v1.0.0 httptest
is used for unit testing again
v0.1.2: CRAN comments
New functions
downloadDMRs()
returns a tidy dataframe with dmr reports. (Closes #38)
Updated functions
echoGetEffluent()
uses a different API call that returns a flat dmr report via csv file, one plant at a time. Maintains compatibility with previous releases. However, the API is now case sensitive. Need to update documentation throughout. (closes #37)
Misc
- handful of documentation updates
- add new functions to vignette
v0.1.1
- 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()