mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀
This commit is contained in:
parent
bc2e23a272
commit
0b30252598
171 changed files with 7009 additions and 602 deletions
47
reference/read_redcap_instrument.md
Normal file
47
reference/read_redcap_instrument.md
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# Convenience function to download complete instrument, using token storage in keyring.
|
||||
|
||||
Convenience function to download complete instrument, using token
|
||||
storage in keyring.
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
read_redcap_instrument(
|
||||
key,
|
||||
uri,
|
||||
instrument,
|
||||
raw_or_label = "raw",
|
||||
id_name = "record_id",
|
||||
records = NULL
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- key:
|
||||
|
||||
key name in standard keyring for token retrieval.
|
||||
|
||||
- uri:
|
||||
|
||||
REDCap database API uri
|
||||
|
||||
- instrument:
|
||||
|
||||
instrument name
|
||||
|
||||
- raw_or_label:
|
||||
|
||||
raw or label passed to \`REDCapR::redcap_read()\`
|
||||
|
||||
- id_name:
|
||||
|
||||
id variable name. Default is "record_id".
|
||||
|
||||
- records:
|
||||
|
||||
specify the records to download. Index numbers. Numeric vector.
|
||||
|
||||
## Value
|
||||
|
||||
data.frame
|
||||
Loading…
Add table
Add a link
Reference in a new issue