Giter Club home page Giter Club logo

Comments (2)

huard avatar huard commented on July 20, 2024

I'll need to be convinced there is value doing this server-side vs by the end-user. There is a click-button for this in Excel.

Question: Are we able to determine the actual precision automatically? If not, then this is left as a user parameter. I'm concerned we'll get multiple requests for the same computations, with only the precision changing once people realize they've asked for too much or not enough precision.

from finch.

aulemahal avatar aulemahal commented on July 20, 2024

I think it depends on who you call "end-user". If the end-user is climatedata.ca, then the problem is their current way of using finch does not allow modification of the data. If the end-user is the person visiting climatedata.ca, then yes this is a simple one-click problem, but the issue is that this person could be unaware of this notion of precision vs exactitude.

No we will not be able to determine the actual precision automatically. There's already a divide between "significant digits" (which is actually what climatedata.ca wants) and "decimal precision" (which is what I propose to implement).
The way this is going to be used is that climatedata.ca will hardcode the requested format for each indicator, finch will not be responsible for finding a best one. This also answers your issue about multiple requests: the real users won't have access to this option.

After discussion with Travis, I think I'll go forward with a csv_float_format input argument.

from finch.

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.