Skip to content

Commit

Permalink
including libraries to run debug & live update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleGrealis committed Nov 1, 2024
1 parent 7c5799c commit f91f11e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inst/updates/run_debug.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
# target_race = 15
# )

# Load required packages
library(purrr) # for walk, map_dfr, keep
library(rvest) # for read_html, html_elements, html_table
library(dplyr) # for mutate, select, left_join, rename
library(stringr) # for str_detect, str_remove, str_split

source("inst/updates/nascar_update.R")
current_month <- as.numeric(format(Sys.Date(), "%m"))

Expand Down
6 changes: 6 additions & 0 deletions inst/updates/run_update.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# Normal update mode:
# update_nascar_data()

# Load required packages
library(purrr) # for walk, map_dfr, keep
library(rvest) # for read_html, html_elements, html_table
library(dplyr) # for mutate, select, left_join, rename
library(stringr) # for str_detect, str_remove, str_split

source("inst/updates/nascar_update.R")
current_month <- as.numeric(format(Sys.Date(), "%m"))

Expand Down

0 comments on commit f91f11e

Please sign in to comment.