-
Notifications
You must be signed in to change notification settings - Fork 9
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
pulldata("pantheria") not working #43
Comments
change amniota to pantheria change read.csv to read.delim
mammaldiet is also not working
I get the following error: Direct call to data source failed. Please check internet connectivity and re-load data! My internet connection is fine and I was able to load 'carabids' |
As described in #47, those data URLs at Dryad are highly unstable and may break once in a while. Apparently they changed their API again. The original dataset is found at http://doi.org/10.5061/dryad.6cd0v. The call for the carabids dataset employs the package suppdata, which takes care of changing URLs. I just updated this for mammaldata, but it is not on CRAN, so you would need to re-install the development version using |
Thank you very much.
…On Wed, Feb 2, 2022 at 2:38 AM Florian Schneider ***@***.***> wrote:
As described in #47
<#47>, those
data URLs at Dryad are highly unstable and may break once in a while.
Apparently they changed their API again. The original dataset is found at
http://doi.org/10.5061/dryad.6cd0v.
The call for the carabids dataset employs the package suppdata
<https://github.com/ropensci/suppdata>, which takes care of changing
URLs. Also it is not stored on Dryad.
I just updated this for mammaldata, but it is not on CRAN, so you would
need to re-install the development version using
devtools::install_github('EcologicalTraitData/traitdataform').
—
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADGEIJ4LQY3657K62NBPHVDUZDNQVANCNFSM4Z74WQKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Also, since the original issue topic was still unanswered, @rplewes @lauterbur, I fixed the pantheria script, too (e9c52fd). |
There is an error in pantheria.R code that is causing pulldata("pantheria") not
to work.
amniota needs to be changed to pantheria and
read.csv needs to be changed to read.delim
amniota <- utils::read.csv("PanTHERIA_1-0_WR05_Aug2008.txt",
fileEncoding = "UTF-8",
stringsAsFactors = FALSE)
pantheria <- utils::read.delim("PanTHERIA_1-0_WR05_Aug2008.txt",
fileEncoding = "UTF-8",
stringsAsFactors = FALSE)
The text was updated successfully, but these errors were encountered: