Skip to content

rebird v1.0.0 released to CRAN

Compare
Choose a tag to compare
@sebpardo sebpardo released this 28 Sep 00:22

rebird 1.0.0

This version switches all functions over the the new eBird API, given that the one previously used by rebird will be retired on October 1st. As such, many of the functions in rebird have changed, and the previous versions of the package will not work correctly.

Breaking changes

  • The biggest change in the new API is that most queries (with the exception of ebirdtaxonomy()) require users to provide an API key, which is linked to your eBird user account. See the README.md or the package vignette for more info on how to set up a key. Alternatively, the key can be provided as an argument in all functions.
  • The new API requests, and thus rebird functions, now use species codes rather than scientific names for species-specific requests.

Major changes

  • New species_code() function that converts from scientific name to species code and can be called within other functions.
  • New ebirdregioninfo() function that provides detailed information on a given eBird region .

Minor changes

  • ebirdregion() now uses loc as its first argument instead of region as it allows for both regions and hotspots to be specified.

Deprecated functions

  • Given the changes to the eBird API, the functions ebirdloc(), ebirdhotspot(), and ebirdregioncheck() have been deprecated and will be removed in future releases. These functions still work in the updated API, but might cease to do so in the near future. ebirdregion() has the same functionality as the first two functions, while ebirdregioninfo() provides a more informative interface than ebirdregioncheck().

rebird 0.5.0