pull_data: Pull Agricultural Survey data using the USDA ARMS API

Description Usage Arguments Value

View source: R/pull_data.R

Description

Pull Agricultural Survey data using the USDA ARMS API

Usage

1
pull_data(year, report, state = "all", farmtype = 1, variable = "all")

Arguments

year

A vector of years to filter data by

report

A vector of reports to fetch

state

A vector of states to filter data by

farmtype

A vector of farmtypes to filter data by

variable

A vector of variables to fetch

Value

A data.frame with survey data filtered according to input arguments


shashiniyer/UDSA_ARMS_API_Data documentation built on Dec. 23, 2021, 1:21 a.m.