Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download issues with planes file #21

Open
simonpcouch opened this issue Sep 7, 2023 · 0 comments
Open

download issues with planes file #21

simonpcouch opened this issue Sep 7, 2023 · 0 comments

Comments

@simonpcouch
Copy link
Owner

I'm able to download the FAA's releasable aircraft data in a couple seconds from my browser, but see timeout errors whenever I try to download via download.file():

out_file <- tempfile()

out <- 
  utils::download.file(
    "https://registry.faa.gov/database/yearly/ReleasableAircraft.2022.zip", 
    out_file
  )
#> Warning in
#> utils::download.file("https://registry.faa.gov/database/yearly/ReleasableAircraft.2022.zip",
#> : URL 'https://registry.faa.gov/database/yearly/ReleasableAircraft.2022.zip':
#> Timeout of 60 seconds was reached
#> Error in utils::download.file("https://registry.faa.gov/database/yearly/ReleasableAircraft.2022.zip", : cannot open URL 'https://registry.faa.gov/database/yearly/ReleasableAircraft.2022.zip'

Created on 2023-09-07 with reprex v2.0.2

simonpcouch added a commit that referenced this issue Sep 7, 2023
Now passing along a user agent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant