And if you happened to use download.file(), you most likely have to use it with mode = "wb", at least with the default download method on Windows: It's a Rar archive, saving it as something else (like zip) potentially confuses extractors. IPC General_Total Pais_Montevideo_Interior_base 2022.xlsxĪnd another fact its that i have 7-zip in my pc. In case one of you wonder, the file that i want from inside the zip it is the next one: I have tried with archive package and with download file but i cant even get closer to my goal. It is a zip file and I am now struggling to get an excel file from inside the zip. The problem is that recently the webpage changed and now the file that I used to download, I am working in R, trying to get a national index from Uruguay that i need to calculate constant prices.īefore i used the fil function from the httr package and the next line of code: fil= GET("",
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |