Skip to content

Commit c4adccb

Browse files
committed
Better documentation about the export_survey_fields parameter
Thanks @isaactpetersen, closes #333
1 parent f76b1cb commit c4adccb

5 files changed

+13
-4
lines changed

NEWS.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Version 0.12 (Unreleased on CRAN)
1212
* When writing records to the server, the functions `redcap_write()` and `redcap_write_oneshot()` have a new parameter that converts R's `logical`/boolean columns to integers. This meshes well with T/F and Y/N items that are coded as 1/0 underneath. The default will be FALSE, so it doesn't break existing code. (#305)
1313
* When writing records to the server, the functions `redcap_write()` and `redcap_write_oneshot()` can toggle the ability to overwrite with blank/NA cells (suggested by @auricap, #315)
1414
* The functions `redcap_read_oneshot()`, `redcap_read()`, & `redcap_read_oneshot_eav()` now support the parameters `datetime_range_begin` and `datetime_range_end`. The are passed to the REDCap parameters `dateRangeBegin` and `dateRangeEnd`, which restricts records returned, based on their last modified date in the server. (Thanks @pbchase, #321 & #323.)
15+
* Better documentation about the `export_survey_fields` parameter in the functions `redcap_read()` & `redcap_read_oneshot()`. (Thanks @isaactpetersen, #333)
1516

1617
### Stability Features
1718

R/redcap-read-oneshot.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
# placeholder: returnFormat
3636
#' @param export_survey_fields A boolean that specifies whether to export the
3737
#' survey identifier field (e.g., 'redcap_survey_identifier') or survey
38-
#' timestamp fields (e.g., instrument+'_timestamp') .
38+
#' timestamp fields (e.g., instrument+'_timestamp').
39+
#' The timestamp outputs reflect the survey's *completion* time
40+
#' (according to the time and timezone of the REDCap server.)
3941
#' @param export_data_access_groups A boolean value that specifies whether or
4042
#' not to export the `redcap_data_access_group` field when data access groups
4143
#' are utilized in the project. Default is `FALSE`. See the details below.

R/redcap-read.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
# placeholder: returnFormat
4949
#' @param export_survey_fields A boolean that specifies whether to export the
5050
#' survey identifier field (e.g., 'redcap_survey_identifier') or survey
51-
#' timestamp fields (e.g., instrument+'_timestamp') .
51+
#' timestamp fields (e.g., instrument+'_timestamp').
52+
#' The timestamp outputs reflect the survey's *completion* time
53+
#' (according to the time and timezone of the REDCap server.)
5254
#' @param export_data_access_groups A boolean value that specifies whether or
5355
#' not to export the `redcap_data_access_group` field when data access groups
5456
#' are utilized in the project. Default is `FALSE`. See the details below.

man/redcap_read.Rd

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/redcap_read_oneshot.Rd

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)