Skip to contents

Update donation data from GDQ tracker

Usage

update_tracker_donations(
  events,
  ignore_cache = FALSE,
  in_progress = FALSE,
  sound = TRUE
)

Arguments

events

Events such as "agdq2019", case insensitive.

ignore_cache

[FALSE]: If TRUE, ignore cached file and re-retrieve data.

in_progress

[FALSE]: If TRUE, donations for in-progress events are retrieved.

sound

[TRUE]: If TRUE, beepr::beep(2) is played after each event's donations have been retrieved. Since scraping will take a long time for full events, this seemed like a good idea.

Value

Invisibly: A tibble.

Examples

if (FALSE) { # \dontrun{
update_tracker_donations(
  events = c("agdq2021", "sgdq2021"),
  ignore_cache = TRUE,
  in_progress = TRUE
)
} # }