R Plugin Creating Dataset with correct datatypes

(Unsure if this is the right forum location)

 

So I have a dataframe I've created in R. A few columns have been converted into num datatype, with values of 1, 2, and NA. When I create the dataset in Domo using the R Plugin, every single column is coming in as a string. My dates and nums have been turned into strings. The proper values are there, just not the right datatypes.

 

Anyone know what's possibly going on? I've confirmed, my data frame absolutely has the correct datatypes before I call the create function.

 

EDIT: I believe I have resolved this. My class object was data.frame tbl_df and tbl. When I changed this to only data.frame it import correctly.

Best Answer

  • bdavis
    bdavis Contributor
    Answer ✓

    EDIT: I believe I have resolved this. My class object was data.frame tbl_df and tbl. When I changed this to only data.frame it import correctly.

Answers

  • bdavis
    bdavis Contributor
    Answer ✓

    EDIT: I believe I have resolved this. My class object was data.frame tbl_df and tbl. When I changed this to only data.frame it import correctly.