Comments (8)
Related to BCG_ATTR and complex vs. character vs. numeric class.
The statement on line 214 is failing.
from bcgcalc.
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).
from bcgcalc.
Complex numbers in BCG_ATTR and/or Noteworthy column causing issues on import in Merge Files section.
from bcgcalc.
Modify server files in MERGE FILES section so only BCG_ATTR gets a new class and leaves other columns as is.
from bcgcalc.
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.
May have issues with other columns if all blank (come in a logical). for example, the previous issue with the NOTEWORTHY column.
from bcgcalc.
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.
Fix applied to master import and merge file imports in Server.R.
from bcgcalc.
Related Issues (20)
- Fuzzy Thermal - auto add index name and index class HOT 1
- Fuzzy Thermal - flags all 2 HOT 1
- Shiny, index class parameters
- Shiny, MTTI, updates HOT 1
- Shiny, assign index class, more checks HOT 6
- Change from reshape2 to tidyr for pivots
- Shiny app - more error checking on files and functions and alerts HOT 2
- Pkgdown site not working
- Shiny app - document user selections HOT 1
- Shiny - merge files not importing some files HOT 1
- Add MN BCG (fish and bugs)
- Shiny app can crash with a large file. HOT 4
- Fuzzy set calculation, automate Index_Name and Index_Class HOT 2
- Shiny - Taxa Translate - crashes if no taxa match
- BCGcalc - Shiny - Calc fails if no EXCLUDE column
- Shiny, BCG calc - file 6 naming scheme is off HOT 2
- Shiny, BCG calculation pop up, add total N HOT 1
- Shiny - ORWA - Generate Class Parameters - crashes with large number of sites HOT 2
- Index_Class names change case HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcgcalc.