Our project's goal is to analyze trends over time within the NBA, specifically among champion teams.
skeleton.R
- code for creating subdirectories and downloading data
Stat133Project.Rproj
- RStudio project file; use for opening project
code - All of our project's working code is stored within this directory
- case_study.R
- data_analysis.R
- data_cleanprep.R
- visualizations.R
data - All of our project's cleaned, working data is stored within this directory as .csv files
images - Plots and images generated by our analysis are stored here
rawdata - Raw data directly downloaded from our sources are stored in this directory before any processing or cleaning
report - Contains our final written report of our project
- final_report.Rmd
- final_report.html
- final_report.pdf
resources - Directory for resources (empty)
When opening this project, please make sure to always begin by opening the project file: Stat133Project.Rproj
and then selecting files you wish to explore through RStudio.
To initialize this project:
- Begin by clicking on the project file:
Stat133Project.Rproj
and opening it with RStudio. - Using Rstudio's file navigation system on the bottom right corner, open
skeleton.R
and run the entire file to initialize the project by gathering and cleaning data.
To view our analysis, visualizations, and/or case studies:
- Navigate to the
code
directory. - Open the corresponding file you would like to view and run the entire file.
To view/generate our comprehensive report on our findings:
- Navigate to the
report
directory and openfinal_report.Rmd
. - Click on 'Knit PDF' or 'Knit HTML' at the top to generate a report file.
- The report file is now saved and can be viewed in the
report
directory.