rnassqs: accessing USDA agricultural data via API

Tags: #<Tag:0x00007f950723a5e8> #<Tag:0x00007f950723a390> #<Tag:0x00007f950723a160>

Author: Nicholas Potter

“The United States Deparment of Agriculture National Agricultural Statistics Service (USDA-NASS) provides a wide range of agricultural data that includes animal, crop, demographic, economic, and environmental measures across a number of geographies and time periods. This data is available by direct download or queriable via the Quick Stats interface. While the Quick Stats tool puts a large amount of data into the hands of users, the interface can be frustrating, especially when trying to access more than 50,000 records or hoping to automate downloading data when new data is released. I developed rnassqs as a solution to these frustrations. rnassqs provides a simple R interface for the Quick Stats API. By iterating over a set of parameters, R users can make processing NASS data reproducible and automated.”

In this post, Nicholas Potter works through a real world use case and outlines specific improvements he made to the package and documentation based on reviewers’ comments

Read the full post: https://ropensci.org/blog/2019/11/26/rnassqs/

1 Like