Hi there, I've tried several different ways to do the above (see attempts
below) and none have been successful. From my internet searches this would
appear to be a common problem.
Any pointers would be appreciated.
Attempt 1:
zip_file_loc <- "xx/yy/zipfile.zip"
data <- read_csv(unzip(zip_file_loc))
ERROR: error 1 in extracting from zip file
Attempt 2:
temp <- tempfile()
temp <- "xx/yy/zipfile.zip"
unzip(temp)
ERROR: error 1 in extracting from zip file
Regards, Nigel.