Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ebirdfreq(), throws error by default and provides url as message #88

Merged
merged 5 commits into from
Jan 24, 2021

Conversation

sebpardo
Copy link
Contributor

@sebpardo sebpardo commented Jan 24, 2021

As discussed in #82, frequency data can no longer be downloaded from the eBird website without being logged in, therefore ebirdfreq() stopped working altogether. Fortunately, it is likely that the frequency data will be available through the API in the near future, so we are keeping the function temporarily, where it throws an error while also providing the constructed url to manually download the frequency data through their website:

ebirdfreq("hotspots", "L196159")
# http://ebird.org/ebird/barchartData?r=L196159&bmo=1&emo=12&byr=1900&eyr=2021&personal=false&fmt=tsv
# Error in ebirdfreq("hotspots", "L196159") : 
#   This function has been made temporarily defunct as you now need to be 
#    logged into the eBird website to download frequency data, but we cannot 
#    authenticate via the API to do so. This function will be reinstated
#    when the frequency data become available through the API. In the meantime, 
#    you can paste the url above in your browser to obtain the web download of 
#    the frequency data for the desired location and date. See
#    https://github.com/ropensci/rebird/issues/82 for more information.

I've also updated the documentation to explain the issue with the function and its new output, and the tests.

This way we can upload a new package version that passes all tests to CRAN, and I'll update the function as soon as the functionality becomes available in the API.

Closes #82.

@sebpardo sebpardo merged commit 4852787 into ropensci:master Jan 24, 2021
@sebpardo sebpardo deleted the fix-ebirdfreq branch March 24, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ebirdfreq failure - URL directs to login page(?)
1 participant