Explorys database is pretty standard and there are a few functions to allow you to easy get patient demographics and clinical characteristics like diagnosis and medications.
You can install the development version from GitHub with
devtools::install_github("aminyakubu/explorys")
## Skipping install of 'explorys' from a github remote, the SHA1 (f10d9088) has not changed since last install.
## Use `force = TRUE` to force installation