Giter VIP home page Giter VIP logo

Comments (8)

leppott avatar leppott commented on August 20, 2024

Related to BCG_ATTR and complex vs. character vs. numeric class.

The statement on line 214 is failing.

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

Resolved by using the specific name. Naming all the columns could sometimes lead to other logical fields not working properly. (In this case it was Noteworthy column causing issues).

image

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

Complex numbers in BCG_ATTR and/or Noteworthy column causing issues on import in Merge Files section.

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

Modify server files in MERGE FILES section so only BCG_ATTR gets a new class and leaves other columns as is.

Image

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

colClasses = c(foo = "character")

foo not being evaluated and combinations of get, eval, and parse aren't helping.

Go back to specifying all classes. use in regular import and Merge Files sections.

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

May have issues with other columns if all blank (come in a logical). for example, the previous issue with the NOTEWORTHY column.

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

Believe have a permanent fix.

It was the complex number thing so have to specify the name and class of the field. Can't do the name of the field with a variable.

Try 1 = I had several permutations of BCG_ATTR specified but it didn't cover all files. Also produced warning in console of not all columns specified existed. Invisible to user in Shiny so ok.

Try 2 = specify class of all columns. This messed up the Noteworthy column. Not sure why but it did.

Try 3 = some kind of hybrid but using a variable name for BCG_ATTR didn't work.

Try 4 = (This final one). Use the specify class vector but only for the BCG_ATTR column. Seems to work in all spellings of BCG_ATTR and doesn't affect any other columns. 😊

Along with the above have several IF/THEN on how to handle the file import based on the BCG_ATTR column

  • Not present in the file
  • BCG_ATTR is present but not a complex classs (i.e., all blank or all numbers, not 'i' values).
  • BCG_ATTR is present and is complex. This last case is where all the trouble happens and led to all the tries above.

from bcgcalc.

leppott avatar leppott commented on August 20, 2024

Fix applied to master import and merge file imports in Server.R.

image

from bcgcalc.

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.