Subset records and columns from a REDCap project
Source:R/read_from_redcap-helpers.R
redcap_read_rows_columns.Rd
Subset records and columns from a REDCap project
Usage
redcap_read_rows_columns(
base_url,
token,
fields = NULL,
records = NULL,
id_position = 1L,
id_col_name = NULL
)
Arguments
- base_url
the URI of the REDCap project
- token
the user-specific string that serves as the password for a project
- fields
a vector or a comma-separated string of column names
- records
a vector or a comma-separated string of subset of subject IDs
- id_position
the column position of the variable that unique identifies the subjects
- id_col_name
the column name with the subject IDs