Exploring public NHANES data using Rcupcake

The Rcupcake package contains functions to query different databases through the BD2K RESTful API. BD2K RESTful API is an interface that provides access to different data sources, making easier data accessibility, analysis reproducibility and scalability. The package is installed via devtools using it’s GitHub URL (hms-dbmi/Rcupcake) library( Rcupcake ) Rcupcake package follows a four-step process to retrieve the data from a database: Start session Select the variables of interest Build the JSON query Run the query to obtain the data The start.