Update donation data from GDQ tracker

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

Arguments

events

Events such as "agdq2019", case insensitive.

delay

[0.5]: Seconds to wait between pages. Don't annoy the webserver.

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) {
update_tracker_donations(
  events = c("agdq2021", "sgdq2021"),
  ignore_cache = TRUE,
  in_progress = TRUE
)
}