Dear OF team, when i create a dataset in collect and successfuly import it to Calc i get an error if I want to filter tables according to dates. First of all, they are imported as text variables, which means you cannot filter for example years that are newer then 2001 (> 2001) and more importantly i cannot even use "=". For example filter results = 2017.
any simple solutions? asked 23 Feb '17, 13:14 dfinzagr |
Hi, I've just released a new version of Calc that handles date variables as well. In order to use date variables, make sure you are using Postgres9.4+. After having installed Calc-2.1-a11 ( http://www.openforis.org/tools/calc.html ), you need to create a new workspace. If you have calculations associated with it, just export the previous calc workspace and import it into the new one. When filtering by dates, make sure you use the format 'yyyy-MM-dd'. Here a picture with an example : Please let me know if you face other issues. Thank you, Mino answered 08 Mar '17, 15:23 Mino Togna ♦♦ |
Great! After deleting workspace and reimport everything works as it should. Even with SQLite. Thank you! answered 21 Mar '17, 16:29 dfinzagr |
Hi, at the moment we dont import dates as dates into Calc. We'll discuss this feature to implement and we'll let you know soon. Thank you, Mino answered 27 Feb '17, 14:44 Mino Togna ♦♦ |
Hmm it doesnt work. Dates arent recognized as dates (so arent found under "D" tab). But I am using Sqlite. Any easy soluitons? answered 21 Mar '17, 15:38 dfinzagr |
Have you deleted the old workspace first? Calc has not been tested with Sqlite. At the moment only Postgres 9.4+ is supported. For more information about the required software, please visit the installation requirement page : http://www.openforis.org/tools/calc/tutorials/installation.html I hope this helps. Thank you, Mino answered 21 Mar '17, 15:53 Mino Togna ♦♦ |
Nice to hear that! I'm glad it's also working with SQLite ! Thanks for letting us know! Mino answered 21 Mar '17, 16:52 Mino Togna ♦♦ |