Skip to content

Commit

Permalink
update doc for `redcap_file_repo_list_oneshot()
Browse files Browse the repository at this point in the history
ref #549
  • Loading branch information
wibeasley committed Nov 3, 2024
1 parent 2340b82 commit 61807a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
14 changes: 4 additions & 10 deletions R/redcap-file-repo-list.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
#'
#' @return
#' Currently, a list is returned with the following elements,
#' * `data`: A [tibble::tibble] with the following columns:
#' `folder_id`, `doc_id`, and (file) `name`.
#' Each sub-folder will have an associated `folder_id` integer,
#' and each file will have an associated `doc_id` integer.
#' * `success`: A boolean value indicating if the operation was apparently
#' successful.
#' * `status_code`: The
Expand All @@ -39,21 +43,11 @@
#' * `outcome_message`: A human readable string indicating the operation's
#' outcome.
#' * `records_affected_count`: The number of records inserted or updated.
#' * `affected_ids`: The subject IDs of the inserted or updated records.
#' * `elapsed_seconds`: The duration of the function.
#' * `raw_text`: If an operation is NOT successful, the text returned by
#' REDCap. If an operation is successful, the `raw_text` is returned as an
#' empty string to save RAM.
#' * `file_name`: The name of the file persisted to disk. This is useful if
#' the name stored in REDCap is used (which is the default).
#'
#' @details
#' For files in a repeating instrument, don't specify `repeating_instrument`.
#' The server only needs `field` (name) and `repeating_instance`.
#'
#' The function `redcap_download_file_oneshot()` is soft-deprecated
#' as of REDCapR 1.2.0.
#' Please rename to [redcap_file_download_oneshot()].
#'
#' @author
#' Will Beasley
Expand Down
15 changes: 4 additions & 11 deletions man/redcap_file_repo_list_oneshot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61807a4

Please sign in to comment.