rdinter / usdarnass

An alternative for downloading various USDA data from Quick Stats through R.
GNU General Public License v3.0
10 stars 1 forks source link

National Level data throwing error #6

Open dwd62 opened 10 months ago

dwd62 commented 10 months ago

I've been unable to grab national level data for Livestock, Poultry, and Specialty categories. There isn't an issue when it is included with state and county level aggregation (i.e. agg_level_desc = c("STATE","COUNTY","NATIONAL")) works just fine and I can get all the necessary data, but will not collect national level values. When I ask for the exact same data but only at a national level aggregation I get an error. Is there any help for this?

rdinter commented 10 months ago

Is this a query you are trying to call that you are able to do on https://quickstats.nass.usda.gov/ but not through the API? If so, that is a problem but I have never heard of this issue before.

agg_level_desc = "NATIONAL" are not available for all statistics, so being able to make queries at sub-NATIONAL levels does not imply you should be able to make it at a higher level.