Closed ffinger closed 2 years ago
Thanks for this Flavio. Did you find a case where the fetch_records
function failed to parse date vars correctly when fetching from REDCap? Or is this just to add more control over how date vars are returned in general? (E.g. could set fn_dates = as.character
to avoid converting to Date class.)
Hi Patrick,
yes, there was a case when date-time fields didn't parse correctly with the default function. I have to replace it with ymd-hm from lubridate to make it work properly.
Thanks
On Thu, Jul 21, 2022, 09:25 Patrick Barks @.***> wrote:
Thanks for this Flavio. Did you find a case where the fetch_records function failed to parse date vars correctly when fetching from REDCap? Or is this just to add more control over how date vars are returned in general? (E.g. could set fn_dates = as.character to avoid converting to Date class.)
— Reply to this email directly, view it on GitHub https://github.com/epicentre-msf/redcap/pull/5#issuecomment-1191138821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6AWKWKVKHALEL4BA3EXQ3VVD3M7ANCNFSM54DR72SA . You are receiving this because you authored the thread.Message ID: @.***>
…to toplevel functions