Our goal with this project is to create an interactive visualization of cancer incidence in Canada using Shiny.
- Clone/download this repository
- 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
- Press 'Access' for:
- Extract .zip file contents into
/data
folder- Note: the extracted dataset is ~1 GB
- 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
- Navigate to the root of this project using the commmand line and run:
- 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
- Navigate to the root of this project using the command line and run:
clean_cancer_data
should appear inDSCI_532_Cancer-Incidence/shiny/cancer_incidence/
- If user has 'Make' installed:
- 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
- Navigate to the root of this project using the commmand line and run:
- If user doesn't have 'Make' installed:
- Delete file manually from
DSCI_532_Cancer-Incidence/shiny/cancer_incidence/
- Delete file manually from
- If user has 'Make' installed:
Currently deployed at: https://rachelkriggs.shinyapps.io/shiny/