Skip to content

Commit

Permalink
fix handling of FAF download
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Dec 13, 2024
1 parent 3c4e8dd commit 8317038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data-raw/FAFData.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ getFAF <- function(year) {

# Download all FAF tables into the placeholder file
if (!file.exists(FAFzip)) {
utils::download.file(paste0(file_baseurl, gsub(stateio_dir, "", FAFzip_short)),
utils::download.file(paste0(file_baseurl, basename(FAFzip)),
FAFzip, mode = "wb", timeout = 1500)

# Get the name of all files in the zip archive
Expand Down

0 comments on commit 8317038

Please sign in to comment.