Skip to content

Commit

Permalink
cruft in derived
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyelhabr committed Dec 31, 2021
1 parent 597429f commit 674fa0f
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions R/derived.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,3 @@ do_insert_player_derived_brackets <- function(players, scrape_time) {
cli::cli_alert_success('Done scraping brackets.')
all_brackets
}

## i don't think i need to do this at all. the tournaments csv shouldn't be used. instead, the
## tournament urls should be inferred from brackets
# update_tournaments <- function(raw_brackets = NULL, tournaments = NULL) {
# if(is.null(brackets)) {
# raw_brackets <- readr::read_rds(path_raw_brackets)
# }
# if(is.null(tournaments)) {
# tournaments <- import_csv(path_tournaments)
# }
#
# new_tournament_urls <- raw_brackets %>%
# dplyr::distinct(.data$url) %>%
# dplyr::anti_join(
# tournaments %>%
# dplyr::distinct(.data$url),
# by = 'url'
# )
# ## todo...
# }

0 comments on commit 674fa0f

Please sign in to comment.