Nothing
A future release of version 3.0.0 will introduce several breaking changes!
exportRecords function interface will be replaced. Please switch your processes to exportRecordsTypedimportRecords function interface will be replaced to utilize castForImport to prepare data for import. Validation logs will no longer be printed.redcapFactor class is being discontinued with all its supporting methods (including redcapFactorFlip). Please use recastRecords instead.recodeCheck function is being discontinued. Please use recastRecords instead.prepUserImportData_validateAllFormsPresent and prepUserImportData_extractFormName functions are removed.record_id and other non-PHI info.unlockREDCap adds trailing slash to url if not present.importUsers improved error message when invalid columns are provided.data_access_group_label to allowed user attributes.data_quality_resolution to allowed user attributes. It may be unnecessary.project_pi_email as an allowed field of project info.data_access_group as part of user role assignment.exportDataQuality when no quality issues exist.exportProjectInfo and exportBundle have been removed.exportFilesMultiple.config=list(options=list(verbose=TRUE)) to unlockREDCap or any call.exportSAS.unlockREDCap internal code is now in package shelter.missingSummary to support "missing checkbox" under special branching scenario.unlockREDCap no longer changes console focusrenameRecord and exportFieldNamesconnectAndCheck function to establish connectionshttr dependency with curlredcap_survey_identifier to system field list.dag=FALSE for exportRecordsTyped.skip_validation function to complement raw_cast.valSkip, allowing for validation to be skipped for a field type.castLogical casting function.unlockREDCap and exportRecordsTyped.changedRecords.assembleCodebook, which mimics the codebook in the REDCap UI in the form of a data frame.exportFilesMultiple to facilitate exporting multiple files in a familiar interface.preserveProject and adds readPreservedProject to assist with preparing data for offline users.importArms and importEvents to use data argument for consistency. Backward compatible via ....default_cast_no_factor, a list of casting functions that may be used to cast fields without casting any fields to factors. It comes with an equivalent alias default_cast_character.system field type for mapping with castLabel and castRaw.rcon$dags()askpass option. General improvements in error messages.envir parameter allows passing a number of the environmentVersion bump for CRAN publication
data.frame back into the expected text values.Transfer from Benjamin Nutter to VUMC Biostatistics.
dev_allocate and prod_allocate elements of the
object returned by allocationTable have been named dev_allocation and
prod_allocation, respectively.importRecords now handles data with repeating forms correctly.[form]_complete fields[form]_complete fields in Reports[form]_complete fields may be explicitly requested.[form]_complete fields may be turned off.redcapProjectInfo is being deprecated, as it will inevitably create confusion
with the API method exportProjectInformation. The replacement function is
exportBundle.redcap_bundle by default.
For now, exportBundle will also return that same object. This is to prevent
back-compatibility problems with existing code but will change at a future date.fieldToVar function now operates on a switch statement instead of a sequence
of if else blocks. It also incorporates a for loop in place of the
lapply and <<- structure.checkmate package.exportVersion will now return "5.12.2" for all versions of REDCap less than 6.0.0.
While it is admittedly odd, this allows for consistent logical comparisons of
of versions and allows better control of the package's behavior over multiple
versions of REDCap.redcapFactor, that inherits whatever class the variable becomes on
export. For example, if factors = TRUE, the new class will be
c("redcapFactor", "factor"), otherwise, it may be something similar to
c("redcapFactor", "numeric"). This is done to assist in converting factors
back and forth between classes as needed (particular when using redcapFactorFlip).NULL value is returned. See ?redcap_error for details.config argument in redcapConnection from config=list()
to config=httr::config().apiCall to be returned correctly.exportEvents, exportArms, and
exportMappings changed between versions 5.x and 6.0. In 5.x, the error
message is "You cannot export arms for classic projects." In 6.0+, it is
"ERROR: You cannot export arms for classic projects." The change causes
exportEvents, exportArms, and exportMappings to cast an error instead
of returning the character string with the error. The bug fix accommodates
the error messages from both 5.x and 6.0+.roxygen2 documentation style.importRecords meta data was not previously exported
when a project info object was not provided. This is now correctedexportRecords and exportReports, the checkbox labels
weren't being returned as factor levels when checkboxLabels=TRUE.
The behavior is now consistent with expectations.compareRedcapVersion, a logical check was failing due
to an omitted argument in grepl. This has been corrected.apiCall. This wraps a call to tryCatch. If a
Gnu/TLS recv error is returned, the encoding is changed from 'gzip'
to 'identity' to successfully retrieve the API response.tryCatch calls are added to redcapProjectInfo to prevent fatal
errors when one of the API functions casts an error. The output
is modified to indicate where the problem occurred. This is most
likely to affect exportUsers. An unresolved issue behind this is
logged in the issues on GitHub.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.