ajdamico / lodown

locally download and prepare publicly-available microdata
GNU General Public License v3.0
97 stars 47 forks source link

Issue downloading PNS data #176

Closed mjaffri closed 3 years ago

mjaffri commented 3 years ago

Running >library(lodown) +lodown( "pns" , output_dir = file.path( path.expand( "~" ) , "PNS" ) )

gives me the following error: Error in function (type, msg, asError = TRUE) : Server denied you to change to the given directory

Running this with different survey data, like PNAD, works fine, though.

ajdamico commented 3 years ago

could you investigate debug(lodown:::lodown_pns) a bit and maybe submit a pull request? thanks

mjaffri commented 3 years ago

If I did it right, it's telling me this: Browse[2]> c Error in nrow(catalog) : argument "catalog" is missing, with no default Error in print(catalog) : argument "catalog" is missing, with no default

ajdamico commented 3 years ago

maybe submit a pull request with the fix?

mjaffri commented 3 years ago

I would, but I don't have a fix.

mjaffri commented 3 years ago

Does anyone have an idea for a solution?