Comments (6)
Specifying a non-numeric column (like "Site" below) as numeric definitely creates unexpected output:
I think we probably just want to treat non-numeric values as missing in this case, but am interested in input from others. @bzkrouse @samussiah What do you think?
from web-codebook.
NaN
s are maybe not ideal, but happy enough with the implementation below. Feedback welcome of course.
from web-codebook.
@jwildfire Would it make sense to ignore the metadata specification in this case?
from web-codebook.
I don't think we can really ignore a user specification. I can see an example where the variable has to be numeric (because of whatever specification) and non-numerics should be treated as missing ...
The user can always change the variable back to 'automatic' or 'categorical' type at any time.
from web-codebook.
Test Notes
Confirm that non-numeric variables are treated as missing when type is set to "continuous". This can be tested on any data set in CAT by toggling a character variable ("RACE", "SEX", etc) to a type of "continuous" on the settings page, and then viewing the missing values as shown in the screenshot above.
from web-codebook.
Works as expected
from web-codebook.
Related Issues (20)
- [Explorer] Columns get reset whenever a new file is added.
- [explorer] Sort newly added files first.
- Keep Choose a File text in place after loading a file.
- Add controls for meta[].type to the settings tab. HOT 2
- Fix typo in continuous summary function HOT 1
- Update explorer test page for v1.6 compatability HOT 2
- Error message not displaying HOT 1
- Update test-page for viz-library v2.0
- make a new example showing how to add metadata to a codebook
- Update README links.
- Update chart maker text when no variables match the criteria.
- Numeric variables with missing values have min=0
- Avoid plotting outliers when the number of outliers is above a certain threshold.
- Add "maxCategories" option HOT 1
- Large data sets cause browser to crash HOT 3
- Add a time variable view.
- Add a nested-data-explorer tab.
- Missing values plotted in mini-charts. HOT 1
- `null` values coerced to 0 for continuous variables. HOT 2
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 web-codebook.