Giter VIP home page Giter VIP logo

Comments (4)

maurolepore avatar maurolepore commented on September 21, 2024

RE your item 3 above:

I think your idea is a good one. Your database can have a column with an optional message for each row (equation), and a column with the condition that throws the error, e.g.

any( DBH < min_DBH, DBH > max_DBH )

The contents of the column condition should be valid R code; if it evaluetes to TRUE, then the message is produced. If the issues may vary in severity, we may need an additional column giving the condition_type such as inform, warn, or abort -- that is, an instruction to tell R what to do appart from producing a message.

from allodb.

teixeirak avatar teixeirak commented on September 21, 2024

Conclusion regarding statement above based on discussion: As we're controlling the package, there shouldn't be any instances that would warrant "abort". All messages entered in @gonzalezeb's tables should be interpreted as warnings. @maurolepore's code will throw some general warnings.

from allodb.

teixeirak avatar teixeirak commented on September 21, 2024

Regarding [2] in the top comment, this sort of error will not be possible within the master version. However, users could edit the tables offline and run the code. For this reason, it may make sense for the code to include an abort function to deal with unacceptable practices (e.g., if user attempts to apply an allometry way outside its range).

from allodb.

gonzalezeb avatar gonzalezeb commented on September 21, 2024

@cpiponiot Let's try to discuss some aspects of this issue today 5/12.

from allodb.

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.