You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the next month or so, I should be able to add a REDCapR function that calls REDCap 10.8.0's new function:
New feature: New API “Export Logging” method - This new API method allows users to export a project’s logging via the API using very similar methods and filters as in the project’s user interface. See the documentation for all filter parameters that are available.
This has been requested before in #243 (and maybe a little with #230).
@joundso wrote most of the function (#383). For the log_begin_date parameter, I set the default value to 7 days ago. That mimics what you get in the browser downloading the same log.
The server API function accepts a datetime object, but the REDCapR function dumbs it down to just date for a few reasons
dates are easier for me to validate & document than the variety of datetimes (eg, posixct, posixlt, hms, etc)
dates are easier for people to understand
I doubt many people need that granular of filtering. And if so, they can further filter within R
But I left room to grow. Within the function, log_begin_date and log_end_date and transformed to log_begin_datetime and log_end_datetime. If enough people need the more granular filtering at the server, we can add new parameters of log_begin_datetime and log_end_datetime, and internally coalesce them with their date-only counterparts.
Respons toe Amanda's community post, which started this issue last year.
In the next month or so, I should be able to add a REDCapR function that calls REDCap 10.8.0's new function:
This has been requested before in #243 (and maybe a little with #230).
Community Site for REDCap Admins
The text was updated successfully, but these errors were encountered: