8/22/2023 0 Comments Download all files on google drive![]() ![]() In R, I tried the flowing code to download the file: url <- "" 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. 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 |