From 1b58d335f8edd07fbb7c0590b105fa3119506fe9 Mon Sep 17 00:00:00 2001 From: mattbk Date: Thu, 28 Nov 2024 10:22:15 -0600 Subject: [PATCH] Scrape AE7Q actions from *previous* day, not current day. --- bin/scrape-license-counts.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/scrape-license-counts.R b/bin/scrape-license-counts.R index 63f1c88..136b4ec 100644 --- a/bin/scrape-license-counts.R +++ b/bin/scrape-license-counts.R @@ -166,8 +166,8 @@ ae7q_table_state <- ae7q_table_state_raw %>% Club) ###### AE7Q License Actions ###### -ae7q_new_url <- paste0("https://www.ae7q.com/query/list/ProcessDate.php?DATE=", Sys.Date()) -#ae7q_new_url <- paste0("https://www.ae7q.com/query/list/ProcessDate.php?DATE=2024-10-01") +ae7q_new_url <- paste0("https://www.ae7q.com/query/list/ProcessDate.php?DATE=", Sys.Date()-1) +#ae7q_new_url <- paste0("https://www.ae7q.com/query/list/ProcessDate.php?DATE=2024-11-01") # Read the page ae7q_new_raw <- read_html(ae7q_new_url)