This might be a loaded question. I want to work with the FDA adverse events reporting systems (FAERS) files. Files from each quarter can be found here: https://fis.fda.gov/extensions/FPD-QDE-FAERS/FPD-QDE-FAERS.html
I want to use R to download all the ASCII files, unzip them and then save them in the working directory. What is the best way to do it? Do I need any packages? Write a loop?