Skip to content

Releases: vubiostat/redcapAPI

v2.11.5

09 Dec 14:56

Choose a tag to compare

  • prepUserImportData_validateAllFormsPresent and prepUserImportData_extractFormName functions are removed.
  • Enhanced logging of exporting records to include record_id and other non-PHI info.
  • Updated user role permissions to use new numbering scheme based on REDCap version.
  • unlockREDCap adds trailing slash to url if not present.
  • importUsers improved error message when invalid columns are provided.
  • Added data_access_group_label to allowed user attributes.
  • Added data_quality_resolution to allowed user attributes. It may be unnecessary.

v2.11.4

28 Oct 19:05
c0c9b77

Choose a tag to compare

2.11.4

  • Updated to allow for project_pi_email as an allowed field of project info.
  • Updated to allow for data_access_group as part of user role assignment.

v2.11.3

11 Sep 13:44

Choose a tag to compare

2.11.3

  • Added injectable log function for use in production environments or debugging.

2.11.2

  • Fixed bug in exportDataQuality when no quality issues exist.
  • Deprecated functions exportProjectInfo and exportBundle have been removed.
  • Fixed offline test that was having issue on Windows.
  • Fixed bug in exportFilesMultiple.

v2.11.1

18 Aug 16:03

Choose a tag to compare

  • 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)) to unlockREDCap or any call.
  • Added experimental exportSAS.

v2.11.0

05 Jun 21:19

Choose a tag to compare

  • unlockREDCap internal code is now in package shelter.

This brings about some improved crypto and there are functions to bridge over the older keyrings automatically.

v2.10.0

17 Oct 16:24
82a91c2

Choose a tag to compare

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_identifier to system field list.
  • Bug fix for handling fields ending in '_complete' that are not form related.
  • Added batching method for exportLogging.

v2.9.1

16 May 04:26
4366a6c

Choose a tag to compare

  • Added additional supported arguments to deleteRecords.
  • Changed the default to dag=FALSE for 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

19 Apr 18:20
11a706b

Choose a tag to compare

  • Refactor of missingSummary to use exportRecordsTyped. This is a breaking change in prep of 3.0.0.
  • Added handling of url redirects (301,302) on makeApiCall.
  • importRecords stops when provided fields not in the project.
  • Filtering empty records will use mapping if available
  • Minor export optimizations for records.
  • unlockREDCap will now search for ENV variables.
  • New importFileToRecord which will import a file and create the record if it doesn't exist.

v.2.8.4 CRAN Release

31 Jan 20:14
ac4240e

Choose a tag to compare

  • Patch to reading HTTP data. When non UTF-8 characters are sent, they get mapped to '□'.
  • Documentation updates, and proper attributes added.

v2.8.3

24 Jan 19:17

Choose a tag to compare

  • Patch to date range handling that was breaking on new REDCap projects since version 14.0.2 of the REDCap server.
  • Improved speed / memory usage for empty row exclusion.
  • Checkbox field labels now follow the pattern '[field_label] (choice=[choice_label])'
  • Fixed checkbox handling to be consistent with data export tool.
  • Added skip_validation list to complement raw_cast.
  • Extends casting and validation to text fields validated with the BioPortal Ontology service.
  • Extends casting and validation to sql fields.
  • Adds valSkip, allowing for validation to be skipped for a field type.
  • Adds castLogical casting function.
  • Adds four vignettes for getting started with using unlockREDCap and exportRecordsTyped.
  • Added helper function changedRecords.
  • Added assembleCodebook, which mimics the codebook in the REDCap UI in the form of a data frame.
  • New functions for project management: createRedcapProject, exportProjectXml
  • Additional timeout trap for request retry strategy.
  • Reports of data failing validation checks now include a link to the form with the failing data.
  • Major cleanup to remove messages on successful function execution. Many return values are changed to be consistent and be TRUE/FALSE if possible.
  • Bug fix: The repeat_instance argument of exportFiles is now included in the API call.
  • New Vignette: vignette("redcapAPI-offline-connection")
  • Adds exportFilesMultiple to facilitate exporting multiple files in a familiar interface.
  • Bug fix: Batching records no longer has the potential to produce duplicated records when a record ID has data in multiple events. (See Issue 262)
  • Extends preserveProject and adds readPreservedProject to assist with preparing data for offline users.