- Added
ebirdtaxonomyversion()
which retrieves data on available taxonomy versions. The version is added as an attribute torebird::tax
(#131). - Added
ebirdchecklist()
, which lets you view individual checklists (thanks @RichardLitt and @Rafnuss, #108). - Made
ebirdregioncheck()
,ebirdhotspot()
,ebirdloc()
defunct. - API tests now use
vcr
, which saves "cassettes" of the tests which can be played in CI when running tests during CI, instead of storing an API key and having to run tests remotely with every PR (thanks @slager). - Updated
rebird
's internal taxonomy after 2023 taxonomic update.
- Updated
rebird
's internal taxonomy after 2021 taxonomic update. - Fix tests.
- Added
ebirdsubregionlist()
which lists sub-regions within a specified region (thanks @dbradnum, #90). - Disabled
ebirdfreq()
(now throws an informative error) as the frequency data request can't be done through the website anymore without logging in first. This request might be added to the eBird API in the near future (#88). - Added
ebirdhotspotlist()
which provides a list of hotspots in a region or nearby coordinates (#87). - Added
ebirdregionspecies()
which provides a list of species codes seen in a location (thanks @dbradnum, #86). - Added
ebirdchecklistfeed()
which provides a list of checklists submitted on a given date at a region or hotspot (thanks @mfoos, #79).
- Updated internal taxonomy to reflect changes in the 2019 Taxonomy Update (#76).
- Updated
ebirdregioninfo()
to also provide information of hotspots (thanks @gbabineau, #72). - Added
ebirdhistorical()
which provides historic observations on a date at a region or hotspot (thanks @gbabineau, #74). - Fixed broken API links in README (thanks @mfoos, #75).
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.
- 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.
- 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 .
ebirdregion()
now usesloc
as its first argument instead ofregion
as it allows for both regions and hotspots to be specified.
- Given the changes to the eBird API, the functions
ebirdloc()
,ebirdhotspot()
, andebirdregioncheck()
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, whileebirdregioninfo()
provides a more informative interface thanebirdregioncheck()
.
- Now all API queries use https, which is needed to avoid double encoding urls (see #62).
- Added information about
auk
, an R package that helps extracting and processing the whole eBird dataset (#60). - Updated package documentation (#61).
- Fix for
ebirdfreq
which stopped working due to changes on the eBird website (#52). - Replaced deprecated
dplyr::rbind_all
function withdplyr::bind_rows
(#43).
- Fix for
httr::content
after changes in httr v1.0.0 (#38).
- Added two new functions
ebirdfreq
andebirdregioncheck
, which provide historical frequency of observation data and check whether a region is valid under eBird, respectively.
- Passed along curl options to httr functions
- Replaced RJSONIO with jsonlite
- Replaced plyr with dplyr