Conversation
|
exportFileRepositoryListing still needs upgraded, but I wanted to get this PR looked at for code review at least. |
|
I like the overall direction here, but I think there is a blocking implementation issue: several places now use as.data.frame(makeApiCall(...), sep = rcon$csv_delimiter()). as.data.frame() does not parse CSV text using sep, so this is not equivalent to read.csv(..., sep=...). If makeApiCall() returns CSV text, these calls likely need read.csv(text = as.character(...), sep = rcon$csv_delimiter(), na.strings = "", stringsAsFactors = FALSE) or a shared parser helper. If makeApiCall() already returns a parsed object, then passing sep here has no effect. I’d recommend fixing this pattern before merge, since otherwise the delimiter support may appear to be wired through without actually changing parsing behavior. |
|
@jubilee2 https://github.com/vubiostat/redcapAPI/blob/main/R/makeApiCall.R#L325-L365 |
|
Thanks for the clarification — that makes sense. I had initially assumed this was using the base Given that, passing Thanks for pointing that out. |
jubilee2
left a comment
There was a problem hiding this comment.
[ FAIL 0 | WARN 0 | SKIP 14 | PASS 2069 ]
No description provided.