Skip to content

This repository serves as the midterm project hub for DATA550 Group 7.

Notifications You must be signed in to change notification settings

jackalperstein/Group7_DATA550

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run the program

Please set the working directory to your local folder containing the program "~/Final_DATA550-master", use the following command: setwd("~/Group7_DATA550-master").

All code files are located in the 'code' folder. Using 'make' simplifies the process of running all codes and generating the report file. However, if you're unfamiliar with 'make', you can run the files individually starting with '00_read_data.Rmd', followed by '01_make_table1.R', '02_make_plots.R', and finally '03_render_report.R'.

Tables and plots will be generated in the 'output' folder, while the final report will be found in the main folder.

About the dataset

Feel free to skip this section if the scientific background doesn't interest you.

This is a dataset about information regarding covid-19 cases in Mexico (20% of the full data set).
You could download the dataset from https://datos.gob.mx/busca/dataset/informacion-referente-a-casos-covid-19-en-mexico.

Code Description

code/00_read_data.R

  • read raw data from online or raw_data/ folder
  • save clean data in derived_data/ folder

code/01_make_table1.R

  • read clean data from derived_data/ folder
  • save table 1 in output/tables/ folder

code/02_make_plots.R

  • read clean data from derived_data/ folder
  • save scatter plot in output/figures/ folder

code/03_render_report.R

  • render report.Rmd
  • save compiled report in main folder

code/report.Rmd

  • read data, tables, and figures from respective locations
  • display results for production report

Customization

  • final report
    You have the option to include the code in the final report or not.
    To exclude the code and provide a cleaner view for collaborators, open the file '05_render_report.R' and set params: production: TRUE in the YAML title. This will generate a report without displaying the code.
    Conversely, to include the code for thorough inspection of the entire report, open the file '05_render_report.R' and set params: production: FALSE in the YAML title. This will generate a report with the code included.

About

This repository serves as the midterm project hub for DATA550 Group 7.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%