Skip to contents

Check Access to GENIE Data

Usage

check_genie_access(
  username = NULL,
  password = NULL,
  pat = NULL,
  check_consortium_access = FALSE
)

Arguments

username

'Synapse' username. If NULL, package will search package environment for "username".

password

'Synapse' password. If NULL, package will search package environment for "password".

pat

'Synapse' Personal Access Token. If NULL, package will search package environment for "pat".

check_consortium_access

Specifies whether access to GENIE BPC consortium data releases (vs. public data releases) is checked. Default is FALSE, indicating that access to GENIE BPC public data releases is checked instead.

Value

A success message if you are able to access GENIE BPC data; otherwise an error

Author

Karissa Whiting

Examples

if (FALSE) { # \dontrun{
# if credentials are saved:
check_genie_access()
} # }