Uses redcap_read_oneshot to interface with Redcap API and fetch raw data.

get_redcap_raw(path_to_creds, identifiable = FALSE)

Arguments

path_to_creds

Full path to credentials file containing API token and base URL. The credentials file must have the following columns: data_source, base_url, api_token.

identifiable

A logical value indicating whether identifiable variables should be included in the output. This identifiable information includes:

  • first name

  • last name

  • email address

  • phone number

  • address

  • name of friend (emergency contact)

Value

A tibble containing raw Redcap data