DomoR::fetch returning Error: is.character(x) is not TRUE
I started playing with the R plugin and I've been able to use fetch successfully. When I tried on a simple dataset output from a dataflow, consisting of columns with the type
String, String, number, String I get the error
Error: is.character(x) is not TRUE
I'm not sure if this happened because of the number. I'm sure the other datasets I initially played with had numbers. What might the cause of this error?
Comments
-
Researching that error, I was able to find a discussion on it on stack overflow, in which they indicate the issue is likely because the "columns are probably of type factor (check with str(X)). mapdist needs charactervectors (check ?mapdist). So you have to convert the columns using as.character beforehand."
http://stackoverflow.com/questions/37125950/mapdist-error-is-characterfrom
If you follow the suggestions in that thread, is the error resolved?
Brett
**Say "Thanks" by clicking the "heart" in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
@macrobolic thanks for looking into this. Unfortunately, the error comes as I am pulling the data so I cannot convert before it comes across as a dataset.
Maybe I should be interpreting as needing to change the datatypes of columns on the Domo side. Th challenge is I cannot figure which is the offending column from the error message. I guess maybe I try to reduce the dataset to a few key columns being pulled then experiment growing to the full dataset. I suspect there is a specific datatype at the root.
Any suggestions based on your superior knowledge as to likely suspect datatypes would be much appreciated.
0 -
@user0010250 Thank you for the below info. I'm looking into this, and will reach out as soon as I have an update. Thanks for your patience.
Brett
**Say "Thanks" by clicking the "heart" in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
After speaking with our developers, they are going to look further into that error to give us an idea of what the next steps are to get this resolved. I'll let you know as I get updates from them.
Brett
**Say "Thanks" by clicking the "heart" in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0
Categories
- 11K All Categories
- 5 Private Company Board
- 2 APAC User Group
- 12 Welcome
- 43 Domo News
- 10K Using Domo
- 2K Dataflows
- 2.5K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 349 Workbench
- 267 Domo Best Practices
- 12 Domo Certification
- 474 Domo Developer
- 51 Domo Everywhere
- 111 Apps
- 728 New to Domo
- 85 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 31 お知らせ
- 65 Kowaza
- 303 仲間に相談
- 664 ひらめき共有