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?
If I have answered your question, please click "Yes" on my comment's option.
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.
If I have answered your question, please click "Yes" on my comment's option.
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.
If I have answered your question, please click "Yes" on my comment's option.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive