Giter VIP home page Giter VIP logo

Comments (3)

raymondben avatar raymondben commented on September 25, 2024

Thanks, well spotted, fixed in v1.17. I hadn't previously seen taxa with that sort of improper classificaton. For those taxa, the returned classification is just a string, not a data.frame. I've avoided the error, but it does mean that the returned result$classification object is just a string, not a data.frame as it is for taxa with proper classifications. But I don't see any easy way of fixing this at the R end, it would require the underlying ALA taxonomic information to be corrected.

from ala4r.

johnbaums avatar johnbaums commented on September 25, 2024

Nice one, thanks for the explanation.

On Wednesday, 27 May 2015, Ben Raymond [email protected] wrote:

Thanks, well spotted, fixed in v1.17. I hadn't previously seen taxa with
that sort of improper classificaton. For those taxa, the returned
classification is just a string, not a data.frame. I've avoided the error,
but it does mean that the returned result$classification object is just a
string, not a data.frame as it is for taxa with proper classifications. But
I don't see any easy way of fixing this at the R end, it would require the
underlying ALA taxonomic information to be corrected.


Reply to this email directly or view it on GitHub
#11 (comment)
.

from ala4r.

raymondben avatar raymondben commented on September 25, 2024

Minor update in v1.18: the result$classification object in these cases will now be a data.frame (though with only one column and one row). Note that this change may affect other elements of the result object that were previously single-element string or numeric, because they will now also be left as single-element data.frames.

from ala4r.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.