An API key is needed for sending the data requests. To apply for a key, go to this website: https://www.ers.usda.gov/developer/. Then click Register.
To make valid request, users should provide valid values for the input variables (e.g., report). Users can refer to this
USDA website for information on the input variables (https://www.ers.usda.gov/developer/data-apis/arms-data-api/).
Users can also use paramSearch in the package to get possible valid values for each input variable (see examples in paramSearch).
For most input variables, users can use id or codes instead of original names to simplify the requests. For example, the id and code for Arkansas is 05 and
ar, respectively. Users can let state = '05' or state = 'ar' to request data for Arkansas instead of letting state = 'Arkansas'.
Similarily, the id for the report named Farm Business Balance Sheet is 1, users can simply let report = 1 to request data from this report.