rnassqs (version 0.5.0)

nassqs_yields: 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

Run this code
# 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_yield(params)
  head(yields)
# }

Run the code above in your browser using DataCamp Workspace