Skip to content

rachelkriggs/DSCI_532_Cancer-Incidence

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSCI 532 Cancer Incidence

Our goal with this project is to create an interactive visualization of cancer incidence in Canada using Shiny.

Usage

  1. Clone/download this repository
  2. Download the dataset from here
    • Press 'Access' for:
      • Resource Type = Dataset
      • Format = CSV
      • Language = English
    • Download the .zip file ~65 MB into the /data/raw folder
  3. Extract .zip file contents into /data folder
    • Note: the extracted dataset is ~1 GB
  4. Create the clean_cancer_data file to be used by Shiny app:
    • If user has 'Make' installed:
      • Navigate to the root of this project using the commmand line and run: make all
    • If user doesn't have 'Make' installed:
      • Navigate to the root of this project using the command line and run: Rscript src/clean_data.R data/13100111.csv shiny/Cancer_Incidence/clean_cancer_data.csv
    • clean_cancer_data should appear in DSCI_532_Cancer-Incidence/shiny/cancer_incidence/
  5. To remove clean_cancer_data:
    • If user has 'Make' installed:
      • Navigate to the root of this project using the commmand line and run: make clean
    • If user doesn't have 'Make' installed:
      • Delete file manually from DSCI_532_Cancer-Incidence/shiny/cancer_incidence/

Shiny web application

Currently deployed at: https://rachelkriggs.shinyapps.io/shiny/

About

Visualizing cancer incidence in Canada with Shiny

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 97.4%
  • Makefile 2.6%