Unable to download files

I hope someone can help me with this. I am working in R, and whenever I try to download files with tigris, I get:

Error: Download failed; check your internet connection or the status of the Census Bureau website
                 at http://www2.census.gov/geo/tiger/.

My internet connection is fine, and I end up manually downloading files.

When using TidyCensus, I get the same error using the geometry=TRUE argument for state and county geographies, and I suspect it uses tigris for this, because I AM able to use geometry=TRUE for tract-level geographies in TidyCensus without error.

I’d appreciate any help with this. Thank you.

I’ve just tried that site, and the relatively small files take some 15+ seconds to start downloading. I wonder if the curl system build into R is timing out.

As a small side note, there appear to be two different and unrelated projects with the name “Tigris”.

The one that’s usually referred to on the Fly.io forum is an S3-style storage service, founded in 2022:

https://fly.io/docs/tigris/

In contrast, you seem to be referring to the following R package begun in 2015, which, at a glance, doesn’t use the above in any way:

https://cran.r-project.org/web/packages/tigris

I don’t know where the best place to discuss a particular R package would be, but here in the Fly.io community forum might not be entirely optimal, :thinking:…

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.