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.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 302 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 104 SQL DataFlows
- 637 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 762 Beast Mode
- 65 App Studio
- 42 Variables
- 704 Automate
- 182 Apps
- 458 APIs & Domo Developer
- 53 Workflows
- 11 DomoAI
- 39 Predict
- 16 Jupyter Workspaces
- 23 R & Python Tiles
- 401 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 8 Software Integrations
- 133 Manage
- 130 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive