From 172ba6e76c923f5ad1dac23fd89791d6f1ed4c80 Mon Sep 17 00:00:00 2001 From: mattbk Date: Fri, 29 Nov 2024 09:36:26 -0600 Subject: [PATCH] Fix scrape date. --- bin/scrape-license-counts.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/scrape-license-counts.R b/bin/scrape-license-counts.R index 136b4ec..5cb4441 100644 --- a/bin/scrape-license-counts.R +++ b/bin/scrape-license-counts.R @@ -198,7 +198,7 @@ ae7q_new_url <- paste0("https://www.ae7q.com/query/list/ProcessDate.php?DATE=", fill(everything()) %>% group_by(`Action Type`) %>% summarize(count = n(), .groups = "keep") %>% - mutate(date = Sys.Date(), + mutate(date = Sys.Date()-1, source = "AE7Q", source_detail = ae7q_new_url) %>% relocate(date) } else {