![]() It does download but I get and error when trying to uncompress the file (both within R and manually with 7.zip) There must be something wrong with file downloaded in R, as the the file size (3.412Kb) does not match what I get from manualy downloading the file (3. In R, I tried the flowing code to download the file: url <- "" Download - Google Drive Safely store your files and access them from any device Choose folders on your computer to sync with Google Drive or backup to Google Photos, and access all of. So, assuming I can download the file correctly, I suppose I could at least generalize tho the other files. Searching the html code of the 2012 page I was able to find that ID and the file name associated with it: AC2012.7z.Īll the other ids' and file names are in that section of the html code. 135 12K views 1 year ago googletakeout googledrive Find out how to download all your files from Google Drive including photos and folders. Thus, I suppose the file id is: 0ByKsqUnItyBhS2RQdFJ2Q0RrN0k This is what I got so faar:īy manually downloading the first of the 2012 file, I could see the URL my browser used to download: Downloaded file names should follow the file names that occur when downloading manually.Ī know a little R, but no web programming or web scraping. I would like to automate the downloading process in R, for all years, and if not at least within each year folder. This is the address:ĭata is divided into one folder per year and within each folder there is one file per state to download. I'm trying to get data for RAIS (a Brazilian employee registry dataset) that is shared using a Google Drive public folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |