nassqs_yields: Get yield records for a specified crop.

View source: R/wrappers.R

nassqs_yieldsR Documentation

Get yield records for a specified crop.

Description

Returns yields for other specified parameters. This function is intended to simplify common requests.

Usage

nassqs_yields(...)

Arguments

...

either a named list of parameters or a series of parameters to form the query

Value

a data.frame of yields data

Examples

## Not run: 
  # Get yields for wheat in 2012, all geographies
  params <- list(
    commodity_desc = "WHEAT", 
    year = "2012", 
    agg_level_desc = "STATE",
    state_alpha = "WA")
    
  yields <- nassqs_yields(params)
  head(yields)

## End(Not run)

rnassqs documentation built on March 18, 2022, 7:45 p.m.