vjdorazio / TwoRavens

A web application for data exploration, statistical analysis, model construction and meta analysis tools, that integrates with Zelig and Dataverse.
http://datascience.iq.harvard.edu/tworavens
Other
1 stars 4 forks source link

don't allow mathematical transformations on string data #8

Open raprasad opened 7 years ago

raprasad commented 7 years ago

screenshot_8_15_17__4_58_pm

error message from rook:

tercer commented 7 years ago

Good point. We should make better use of the type defintions of variables from the metadata, when we trust them, and check whether transformations are meaningful against those types.

Privacy Tools is doing something more sophisticated in this regard for it's own version of transformations. It's implemented in Haskell. Probably more (and clumsier) than we need, but perhaps as we integrate that code in for the Privacy case, we can learn what works and implement something better here.