Releases: vubiostat/redcapAPI
Releases · vubiostat/redcapAPI
redcapAPI 2.12.0
Breaking changes
unlockREDCapupstream dependency on shelter now default to 'SHELTER_' prefix when looking for ENV variable overrides.
Minor improvements and fixes
exportDags,exportFieldNames,exportProjectInformation,exportReportsTyped,importDags,writeDataForImport, andexportRecordsTypednow have acsv_delimiterparameter to control delimiter utilized.importMetaDatabug fix when given duplicate names to exit and warn user properly.redcapUserRoleStructureallows newalerts,api_modules, anddata_quality_resolutionattributes.exportUsersproperly handles the columns random_setup, random_dashboard and random_perform.importUsersandexportUsersweren't handling data_access_group assignment properly.exportUserRolesnow avoids errors when user role access columns are missing from export responses.exportFileRepositoryListingreturns a data.frame with 6 columns (was 4) from REDCap version 16.0.8 and up.redcapConnectionhas better documentation on setting the CSV delimiter and this is respected through most calls except for ones that have been shown to be hard coded to commas by REDCap.
DEPRECATION NOTICES
A future release of version 3.0.0 will introduce several breaking changes!
- The
exportRecordsfunction interface will be replaced. Please switch your processes toexportRecordsTyped - The
importRecordsfunction interface will be replaced to utilizecastForImportto prepare data for import. Validation logs will no longer be printed. - The
redcapFactorclass is being discontinued with all its supporting methods (includingredcapFactorFlip). Please userecastRecordsinstead. - The
recodeCheckfunction is being discontinued. Please userecastRecordsinstead.
v2.11.5
prepUserImportData_validateAllFormsPresentandprepUserImportData_extractFormNamefunctions are removed.- Enhanced logging of exporting records to include
record_idand other non-PHI info. - Updated user role permissions to use new numbering scheme based on REDCap version.
unlockREDCapadds trailing slash to url if not present.importUsersimproved error message when invalid columns are provided.- Added
data_access_group_labelto allowed user attributes. - Added
data_quality_resolutionto allowed user attributes. It may be unnecessary.
v2.11.4
v2.11.3
2.11.3
- Added injectable log function for use in production environments or debugging.
2.11.2
- Fixed bug in
exportDataQualitywhen no quality issues exist. - Deprecated functions
exportProjectInfoandexportBundlehave been removed. - Fixed offline test that was having issue on Windows.
- Fixed bug in
exportFilesMultiple.
v2.11.1
- Better handling of unexpected html responses from REDCap.
- Improved CSV formatting for API imports. Properly deals with escaped quoting.
- Allow for overlapping mapping in radio import validation.
- Restored debug mode for API call/response. Just add
config=list(options=list(verbose=TRUE))tounlockREDCapor any call. - Added experimental
exportSAS.
v2.11.0
v2.10.0
2.10.0
- Replace "httr" dependency with "curl"
2.9.4
- Minor code refactoring
- Add test case for CI environment
- Implemented GitHub Actions for automated source code checks.
2.9.3
- REDCap 14.4.0 changed user role structure.
2.9.2
- Improved date and datetime validation
- Bug fix for importMetaData validation
- Refactored error handling on API calls to reduce code footprint.
- Added
redcap_survey_identifierto system field list. - Bug fix for handling fields ending in '_complete' that are not form related.
- Added batching method for exportLogging.
v2.9.1
- Added additional supported arguments to deleteRecords.
- Changed the default to
dag=FALSEfor exportRecordsTyped. - exportRecordsTyped more robust against some forms of corrupted meta data.
- Added a new feature exportDataQuality for pulling queries from the DataQuality module.
v2.9.0
- Refactor of
missingSummaryto useexportRecordsTyped. This is a breaking change in prep of 3.0.0. - Added handling of url redirects (301,302) on
makeApiCall. importRecordsstops when provided fields not in the project.- Filtering empty records will use mapping if available
- Minor export optimizations for records.
unlockREDCapwill now search for ENV variables.- New
importFileToRecordwhich will import a file and create the record if it doesn't exist.
v.2.8.4 CRAN Release
- Patch to reading HTTP data. When non UTF-8 characters are sent, they get mapped to '□'.
- Documentation updates, and proper attributes added.