Skip to content

Releases: mps9506/echor

echor 0.1.9

22 Jun 19:10
Compare
Choose a tag to compare
  • 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

24 Apr 11:46
Compare
Choose a tag to compare

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

13 Feb 19:41
Compare
Choose a tag to compare

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

31 Aug 16:47
Compare
Choose a tag to compare

Bug Fixes

  • Removed TidyData in DESCRIPTION.
  • Fix output for echoGetCAAPR().
  • Update base URL used in webservice.

echor 0.1.5

17 Aug 18:54
Compare
Choose a tag to compare

Minor Changes

  • httr::RETRY() used throughout. (fixes #49)
  • Add CITATION.
  • vignette and readme use ggspatial instead of ggmap. (fixes #52)

v0.1.4

03 Feb 22:48
Compare
Choose a tag to compare

Bug Fixes

Fixed breaking bugs due to API changes

Minor Fixes

Fixed #48 Notes raised by CRAN check due to unneeded lubridate import.

v0.1.3

19 Sep 15:02
Compare
Choose a tag to compare

Bug fixes

  • Fixes issues introduced in building vignettes caused by tidyr v1.0.0 release that requires arguments in unnest()

Major changes

  • echoGetEffluent() and downloadDMRs() 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

04 Feb 14:23
Compare
Choose a tag to compare

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

11 Sep 22:01
Compare
Choose a tag to compare
  • Single function returns air and water data; echoGetFacilities() and echoGetReports() wrap the individual functions to streamline functions that users need to be familiar with. (closes #33)
  • Added echoWaterGetMeta() and echoAirGetMeta() functions to retrieve column metadata returned by echoWaterGetFacilityInfo() and echoAirGetFacilityInfo(); specify columns returned by respective functions by including qcolumns argument in respective functions. (closes #28).
  • Added default qcolumns argument to echoWaterGetFacilityInfo() to ensure reasonable default columns are returned (#29).
  • echoWaterGetFacilityInfo() properly returns large datasets. The new internal function getDownload() downloads the entire CSV of queried data as a dataframe (closes #27).
  • Added default qcolumns argument to echoAirGetFacilityInfo() to ensure reasonable default columns are returned (#29).
  • echoAirGetFacilityInfo() properly returns large datasets. The new internal function getDownload() 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 by echoSDWGetSystems()
  • Unit tests for functions that rely on EPA ECHO API utilize skip_on_cran() instead of httptest::with_mock_API()
  • Imported functions are called explicitly eg. pkg::fun()