An alternative for downloading various USDA data from https://quickstats.nass.usda.gov/ through R. You must sign up for an API key from the mentioned website in order for this package to work. Disclaimer:
This product uses the NASS API but is not endorsed or certified by NASS.
Thsi package is now on CRAN and can be installed through the typical method:
Alternatively, the most up-to-date version of the package can be installed with the
devtools package. However, beware that this will be a development version:
Once installed through either method, you can load package the conventional way:
See the Get started article for a more in depth discussion of the package features.
See the documentation site.
There are other
R packages that work with USDA Quick Stats that may be more useful to others:
If you are interested in download all of the Quick Stats data to your local machine, then their FTP site is the best option for downloading all.