Skip to content

UBC-MDS/obesity-explorer-R

Repository files navigation

Obesity Explorer

Lifecycle: maturing R-CMD-check Codecov test coverage

Authors: Dustin Burnham, Javairia Raza, Rafael Pilliard Hellwig, Tanmay Sharma

Using the Obesity Dashboard

Obesity has been an increasing medical concern across the world in the 21st century. It is a medical precursor to diseases such as diabetes, heart diseases, high blood pressure and certain types of cancers. In spite of this, most people know very little about this disease, and are unaware of the factors that increase its relative risk. To increase awareness and deepen understanding, this Obesity Dashboard allows users to explore obesity trends, probe associations with other variables and factors, and discover patterns related to this global epidemic.

App

Contributing to the Dashboard

We love contributions! If you wish to help with this project or find a bug, please first review our contributing guidelines. Contributors are encouraged to clone the repository and install dependencies by running the following in an R session (the working directory must be at the project root):

install.packages(devtools)
devtools::install_deps()

Once the requisite R packages are installed, the app can be run locally by executing the following at the terminal from the project root:

Rscript app.R

The URL path will be printed to screen, which can be copy-pasted into a browser. To exit the app, hit Ctrl + C in the terminal.

This app is written in R using the Dash framework, but the authors maintain a parallel implementation for Python. Details of the author's vision can be found in the proposal document.