-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmake.R
More file actions
27 lines (23 loc) · 792 Bytes
/
make.R
File metadata and controls
27 lines (23 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
###############################################################################
##
## Script to execute the whole project
##
## make.R
##
## 03/12/2021
##
## Camille Magneville
##
###############################################################################
# Install dependencies
#devtools::install_deps()
# Give the relative path to the data and read the data:
pokedata <- readr::read_csv(here::here("data", "pokemon.csv"))
# Load defined functions from the R folder
source(here::here("R", "01_clean_data_function.R"))
source(here::here("R", "02_plot_function.R"))
source(here::here("R", "03_regression_function.R"))
# Run analyses scripts
source(here::here("analysis", "01_clean_data.R"))
source(here::here("analysis", "02_plot.R"))
source(here::here("analysis", "03_regression.R"))