OuhscBbmc / REDCapR

R utilities for interacting with REDCap
https://ouhscbbmc.github.io/REDCapR
Other
111 stars 46 forks source link

autonumbering: Upcoming REDCap Feature Improvement #175

Open thomasnwilson opened 6 years ago

thomasnwilson commented 6 years ago

Just wanted to give you a heads up about an improved feature for REDCap that may or may not affect REDCapR. The autonumber capability already exists in REDCap, but they have expanded that capability to allow autonumbering when you import data. Essentially, REDCap reads the last record_id in REDCap and starts numbering your import file from the last record. This also works with the API import as well. This will happen in the next couple of weeks with version 7.6.4.

RollieParrish commented 4 years ago

Checking the status of supporting forceAutoNumber with importing records as described above. I'd be happy to submit a PR if that would help.

wibeasley commented 4 years ago

Hi @RollieParrish, I see you've changed usernames.

That would be great. And if you're unfamiliar with the testing part of it, will you describe some plain-English tests in the issue, and I'll translate them into testthat language.

Since we're not wiping the project clean every time (just deleting the records), I'm assuming the autonumber will be dynamically determined (and it's not always 1, 2, 3, ...)