-
Notifications
You must be signed in to change notification settings - Fork 25
Strings returned as factors #21
Comments
The issue is using the function
There are a few options, I guess:
|
This isn't a solution, but my workaround is to pipe the output of |
@Breza This may or may not be fixed depending on your version of RForcecom. Looking at current GitHub source code, it automatically returns strings as characters: https://github.com/hiratake55/RForcecom/blob/master/R/rforcecom.utils.R#L54 |
@StevenMMortimer This issue is not solved in the current CRAN and Github versions of RForcecom. I can confirm that
This would be a fantastic solution imho that does not require mucking around with global settings. |
@RomanAbashin I have created my own fork of the package and the functionality you mention is available there: https://github.com/StevenMMortimer/salesforcer More specifically, there is an argument in the |
I would expect:
And absolute bonus marks for actually getting
CloseDate
as a date.Given how nasty "stringsAsFactors = TRUE" is in read.csv, I would suggest at least mimicking the behaviour of "stringsAsFactors = FALSE". Unfortunately, it will probably need a defaulted parameter, defaulted to the current way (else it will break old code).
The text was updated successfully, but these errors were encountered: