data-raw/weekly_data_process.R

# Weekly Script to update data
devtools::load_all(".")
library(here)
library(tidyverse)
# setwd("~/Documents/R_scripts/fitzRoy")


# IDS -----------------------------------------------------------
source(here::here("data-raw", "Match_ids", "find_ids.R"))

# player_stats ------------------------------------------------------------
source(here::here("data-raw", "player_stats", "scrape_footywire_basic.R"))
# source(here::here("data-raw", "afl_tables_playerstats", "afltables_intial_scrape.R"))

# Match results -----------------------------------------------------------
source(here::here("data-raw", "afl_tables_match_results", "initial_match_results.R"))



# weather -----------------------------------------------------------------
# Need to work out how to update this one
# source(here::here("data-raw", "weather", "BOM Data.R"))

# score progression -------------------------------------------------------
# Need this one to be update for 2018 data - currently works for 2008-2017
# source(here::here("data-raw", "scoring_progression", "score_progression_transform.R"))
jimmyday12/fitzRoy documentation built on March 26, 2024, 8:56 p.m.