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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive