Back to all updates

about 3 years ago

Fresh farm metadata documentation

New Farm Data Dashboard metadata API function

The newly released API requests for the NASS and ARMS data sets enable you to return metadata associated with potential queries. Unlike the other available APIs, these do not return actual record values (such as the number of acres planted) but list the distinct values of other columns (such as a list of distinct states available).

For example, if you wanted to know in which states (state_name) apples are grown, the API request will use the filter 'commodity_desc=apples':

http://nass-api.azurewebsites.net/api/get_dependent_param_values?distinctParams=state_name&commodity_desc=APPLES

Which will result in the returned value:

{"data":[{"Name":"STATE_NAME","Keys":[],"Values":["","ALABAMA","ALASKA","ARIZONA","ARKANSAS","CALIFORNIA","COLORADO","CONNECTICUT","DELAWARE","FLORIDA","GEORGIA","HAWAII","IDAHO","ILLINOIS","INDIANA","IOWA","KANSAS","KENTUCKY","LOUISIANA","MAINE","MARYLAND","MASSACHUSETTS","MICHIGAN","MINNESOTA","MISSISSIPPI","MISSOURI","MONTANA","NEBRASKA","NEVADA","NEW HAMPSHIRE","NEW JERSEY","NEW MEXICO","NEW YORK","NORTH CAROLINA","NORTH DAKOTA","OHIO","OKLAHOMA","OREGON","PENNSYLVANIA","RHODE ISLAND","SOUTH CAROLINA","SOUTH DAKOTA","TENNESSEE","TEXAS","UTAH","VERMONT","VIRGINIA","WASHINGTON","WEST VIRGINIA","WISCONSIN","WYOMING","OTHER STATES","US TOTAL"]}]}

Prefer avocados to apples?

http://nass-api.azurewebsites.net/api/get_dependent_param_values?distinctParams=state_name&commodity_desc=AVOCADOS

{"data":[{"Name":"STATE_NAME","Keys":[],"Values":["","HAWAII","FLORIDA","CALIFORNIA","ARIZONA","US TOTAL","TEXAS"]}]}

An example of a more complex filter on which states grew apples in the year 2014:

http://nass-api.azurewebsites.net/api/get_dependent_param_values?distinctParams=state_name&commodity_desc=APPLES&year=2014

You can access the metadata documentation via the documentation tab of the Farm Data Dashboard --> links for NASS/ARMS --> "Creating API requests for getting metadata."

Connecting to the Farm Data Dashboard via the Azure Machine Learning Studio

This video shows you how to connect to the Farm Data Dashboard data services through the Azure Machine Learning Studio. The video details how to use those data connections to train, test, and deploy basic statistical prediction models. The services built and deployed in the video mirror those developed for the use cases (under "use cases" tab) presented on the Farm Data Dashboard.

Additional data viz tool

We’ve added an additional tool to the resources page: Power BI, a data visualization platform. Check it out and try it for free!

Questions?

We're around to help! Send an email to support@devpost.com or post on the discussion forum