Tigris error extracting county data using counties()

192 Views Asked by At

I am suddenly getting an error messaging when using tigris::counties() even though the same code worked perfectly fine a few weeks ago. Can anyone replicate this error or know of a workaround?

require(tigris)
counties_VT <- counties(state="VT",cb=T,class="sf")

Error Message:

Retrieving data for the year 2020
Error: Cannot open "C:\Users\QSMITH\AppData\Local\Temp\RtmpYZZH4z"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
In addition: Warning message:
In unzip(file_loc, exdir = tmp) : error 1 in extracting from zip file

Thank you!

0

There are 0 best solutions below